diff --git a/gunicorn/workers/async.py b/gunicorn/workers/async.py index fc6a7dd7..c616248a 100644 --- a/gunicorn/workers/async.py +++ b/gunicorn/workers/async.py @@ -47,6 +47,8 @@ class AsyncWorker(base.Worker): self.log.debug("Ignored premature client disconnection. %s", e) except StopIteration as e: self.log.debug("Closing connection. %s", e) + except socket.error: + raise # pass to next try-except level except Exception as e: self.handle_error(req, client, addr, e) except socket.error as e: