mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
68cd2b92c8
commit
f41f86c3da
@ -114,6 +114,8 @@ class AsyncWorker(base.Worker):
|
|||||||
respiter.close()
|
respiter.close()
|
||||||
if resp.should_close():
|
if resp.should_close():
|
||||||
raise StopIteration()
|
raise StopIteration()
|
||||||
|
except StopIteration:
|
||||||
|
raise
|
||||||
except Exception:
|
except Exception:
|
||||||
if resp and resp.headers_sent:
|
if resp and resp.headers_sent:
|
||||||
# If the requests have already been sent, we should close the
|
# If the requests have already been sent, we should close the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user