summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/forkpool.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-03-28 18:09:44 +0100
committerHelmut Grohne <helmut@subdivi.de>2008-03-28 18:09:44 +0100
commitc7d175ab56f9fc7a020d39d7ec2f8f7f0c6ec216 (patch)
tree21d67e4655d64fa83cd8c165c213a86fa518588e /wsgitools/scgi/forkpool.py
parentcdf40b62af41540e4c57a2edfa62ea902d5d63d5 (diff)
downloadwsgitools-c7d175ab56f9fc7a020d39d7ec2f8f7f0c6ec216.tar.gz
fixed non-fatal bugs
Diffstat (limited to 'wsgitools/scgi/forkpool.py')
-rw-r--r--wsgitools/scgi/forkpool.py2
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)