diff options
author | Helmut Grohne <helmut@subdivi.de> | 2008-03-28 18:09:44 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2008-03-28 18:09:44 +0100 |
commit | c7d175ab56f9fc7a020d39d7ec2f8f7f0c6ec216 (patch) | |
tree | 21d67e4655d64fa83cd8c165c213a86fa518588e /wsgitools/scgi | |
parent | cdf40b62af41540e4c57a2edfa62ea902d5d63d5 (diff) | |
download | wsgitools-c7d175ab56f9fc7a020d39d7ec2f8f7f0c6ec216.tar.gz |
fixed non-fatal bugs
Diffstat (limited to 'wsgitools/scgi')
-rw-r--r-- | wsgitools/scgi/forkpool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/scgi/forkpool.py b/wsgitools/scgi/forkpool.py index df92ec3..6d6f5c5 100644 --- a/wsgitools/scgi/forkpool.py +++ b/wsgitools/scgi/forkpool.py @@ -15,7 +15,7 @@ class SocketFileWrapper: """internal method for receiving and counting incoming data""" if size is None: data = self.sock.recv() - self.readbytes += len(data) + self.toread -= len(data) return data data = self.sock.recv(size) self.toread -= len(data) |