mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
don't need this comment
This commit is contained in:
parent
615c6a6927
commit
7d83418b60
@ -29,9 +29,6 @@ def close_on_exec(fd):
|
|||||||
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
|
||||||
|
|
||||||
def close(sock):
|
def close(sock):
|
||||||
""" socket.close() doesn't *really* close if
|
|
||||||
there's another reference to it in the TCP/IP stack.
|
|
||||||
(trick from twisted)"""
|
|
||||||
try:
|
try:
|
||||||
sock.close()
|
sock.close()
|
||||||
except socket.error:
|
except socket.error:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user