MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / close_all

Method close_all

thirdparty/keepalive/keepalive.py:204–209  ·  view source on GitHub ↗

close all open connections

(self)

Source from the content-addressed store, hash-verified

202 h.close()
203
204 def close_all(self):
205 """close all open connections"""
206 for host, conns in self._cm.get_all().items():
207 for h in conns:
208 self._cm.remove(h)
209 h.close()
210
211 def _request_closed(self, request, host, connection):
212 """tells us that this request is now closed and the the

Callers 1

error_handlerFunction · 0.80

Calls 4

itemsMethod · 0.80
get_allMethod · 0.80
removeMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected