mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
except with error ..
This commit is contained in:
parent
1126579963
commit
7d31b224b9
@ -106,7 +106,7 @@ def read_partial(sock, length):
|
||||
def write(sock, data):
|
||||
try:
|
||||
sock.sendall(data)
|
||||
except:
|
||||
except socket.error, e:
|
||||
if e[0] not in (errno.EWOULDBLOCK, errno.EAGAIN):
|
||||
pass
|
||||
raise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user