This commit is contained in:
benoitc 2010-03-05 18:20:58 +01:00
parent 83804e2421
commit 54d1a8a5dc
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class TeeInput(object):
if not self._tee(CHUNK_SIZE):
break
self.tmp.seek(orig_size)
line = self.tmp.readline()
line += self.tmp.readline()
i = line.find("\n")
if i != -1:
break

View File

@ -21,7 +21,7 @@ timeout_default = object()
CHUNK_SIZE = (16 * 1024)
MAX_BODY = 1024 * (80 + 32)
MAX_BODY = 1024 * 132
weekdayname = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
monthname = [None,