mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
flush on first write
This commit is contained in:
parent
6fc3772c8c
commit
0774607fab
@ -36,6 +36,7 @@ class TeeInput(object):
|
|||||||
chunk, self.buf = parser.filter_body(buf)
|
chunk, self.buf = parser.filter_body(buf)
|
||||||
if chunk:
|
if chunk:
|
||||||
self.tmp.write(chunk)
|
self.tmp.write(chunk)
|
||||||
|
self.tmp.flush()
|
||||||
self._finalize()
|
self._finalize()
|
||||||
self.tmp.seek(0)
|
self.tmp.seek(0)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user