Merge pull request #2312 from benoitc/revert-2304-fix-gevent-loop-exit

Revert "Exit async keepalive request loop when self.alive is False"
This commit is contained in:
Randall Leeds 2020-04-20 12:02:57 -07:00 committed by GitHub
commit d296cdc7a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class AsyncWorker(base.Worker):
else:
# keepalive loop
proxy_protocol_info = {}
while self.alive:
while True:
req = None
with self.timeout_ctx():
req = next(parser)