From 19a4a081a27731e3e1aec0914a21ea782baaef89 Mon Sep 17 00:00:00 2001 From: benoitc Date: Mon, 1 Mar 2010 00:25:25 +0100 Subject: [PATCH] we want to go to last position. --- gunicorn/http/tee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/http/tee.py b/gunicorn/http/tee.py index 337ea6ba..12287932 100644 --- a/gunicorn/http/tee.py +++ b/gunicorn/http/tee.py @@ -47,7 +47,7 @@ class TeeInput(object): self.tmp.seek(self._tmp_size()) if not self._tee(CHUNK_SIZE): break - self.tmp.seek(0) + self.tmp.seek(pos) self._len = self._tmp_size() return self._len