MCPcopy
hub / github.com/benoitc/gunicorn / close

Function close

gunicorn/util.py:275–279  ·  view source on GitHub ↗
(sock)

Source from the content-addressed store, hash-verified

273
274
275def close(sock):
276 try:
277 sock.close()
278 except OSError:
279 pass
280
281
282def close_graceful(sock, timeout=2.0, max_drain=65536):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected