diff --git a/gunicorn/workers/base_async.py b/gunicorn/workers/base_async.py index cbc2606f6..7b2daf91b 100644 --- a/gunicorn/workers/base_async.py +++ b/gunicorn/workers/base_async.py @@ -42,7 +42,7 @@ def handle(self, listener, client, addr): else: # keepalive loop proxy_protocol_info = {} - while self.alive: + while True: req = None with self.timeout_ctx(): req = next(parser)