mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
wsgi.input_terminated is always true
As spotted by @tilgovi Gunicorn always ensure the reader terminate. So set wsgi.input_terminated to true to signal it to the application.
This commit is contained in:
parent
0d8a022791
commit
8a270c9329
@ -131,7 +131,6 @@ def create(req, sock, client, server, cfg):
|
||||
continue
|
||||
elif hdr_name == "CONTENT-LENGTH":
|
||||
environ['CONTENT_LENGTH'] = hdr_value
|
||||
environ['wsgi.input_terminated'] = False
|
||||
continue
|
||||
|
||||
key = 'HTTP_' + hdr_name.replace('-', '_')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user