mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix iter
This commit is contained in:
parent
83804e2421
commit
54d1a8a5dc
@ -103,7 +103,7 @@ class TeeInput(object):
|
|||||||
if not self._tee(CHUNK_SIZE):
|
if not self._tee(CHUNK_SIZE):
|
||||||
break
|
break
|
||||||
self.tmp.seek(orig_size)
|
self.tmp.seek(orig_size)
|
||||||
line = self.tmp.readline()
|
line += self.tmp.readline()
|
||||||
i = line.find("\n")
|
i = line.find("\n")
|
||||||
if i != -1:
|
if i != -1:
|
||||||
break
|
break
|
||||||
|
|||||||
@ -21,7 +21,7 @@ timeout_default = object()
|
|||||||
|
|
||||||
CHUNK_SIZE = (16 * 1024)
|
CHUNK_SIZE = (16 * 1024)
|
||||||
|
|
||||||
MAX_BODY = 1024 * (80 + 32)
|
MAX_BODY = 1024 * 132
|
||||||
|
|
||||||
weekdayname = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
|
weekdayname = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
|
||||||
monthname = [None,
|
monthname = [None,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user