MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / run

Method run

test/functional/test_framework/socks5.py:138–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

136 self.queue = queue.Queue() # report connections and exceptions to client
137
138 def run(self):
139 while self.running:
140 (sockconn, peer) = self.s.accept()
141 if self.running:
142 conn = Socks5Connection(self, sockconn, peer)
143 thread = threading.Thread(None, conn.handle)
144 thread.daemon = True
145 thread.start()
146
147 def start(self):
148 assert(not self.running)

Callers

nothing calls this directly

Calls 4

Socks5ConnectionClass · 0.85
ThreadMethod · 0.80
acceptMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected