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

Method closeConnections

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

Source from the content-addressed store, hash-verified

114 self.stream_server.stop()
115
116 def closeConnections(self):
117 self.log.debug("Closing all connection: %s" % len(self.connections))
118 for connection in self.connections[:]:
119 connection.close("Close all connections")
120
121 def handleIncomingConnection(self, sock, addr):
122 if config.offline:

Callers 1

actionConfigSetMethod · 0.80

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected