mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fixing the select/accept loop.
This commit is contained in:
parent
83ebc51520
commit
d5956ed5f3
@ -43,7 +43,7 @@ class Worker(object):
|
||||
(conn, addr) = self.socket.accept()
|
||||
except socket.error, e:
|
||||
if e[0] in [errno.EAGAIN, errno.EINTR]:
|
||||
continue # Jump back to select
|
||||
break # Jump back to select
|
||||
raise # Uh oh!
|
||||
|
||||
#log.info("Client connected: %s:%s" % addr)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user