MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / stop

Method stop

src/Connection/ConnectionServer.py:110–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108 self.log.info("StreamServer listen error: %s" % err)
109
110 def stop(self):
111 self.log.debug("Stopping")
112 self.running = False
113 if self.stream_server:
114 self.stream_server.stop()
115
116 def closeConnections(self):
117 self.log.debug("Closing all connection: %s" % len(self.connections))

Callers 7

testGetFileMethod · 0.95
testStreamFileMethod · 0.95
testIpv6Method · 0.95
testSslConnectionMethod · 0.95
testRawConnectionMethod · 0.95
testPingMethod · 0.95
testGetConnectionMethod · 0.95

Calls

no outgoing calls

Tested by 7

testGetFileMethod · 0.76
testStreamFileMethod · 0.76
testIpv6Method · 0.76
testSslConnectionMethod · 0.76
testRawConnectionMethod · 0.76
testPingMethod · 0.76
testGetConnectionMethod · 0.76