summaryrefslogtreecommitdiff
path: root/wsgitools/scgi
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2009-10-25 20:19:46 +0100
committerHelmut Grohne <helmut@subdivi.de>2009-10-25 20:19:46 +0100
commita9ccca793ab1f51561273bbcb38421b117cd507a (patch)
tree305593f401067b5c47c15de8fe630b7ec7b31f20 /wsgitools/scgi
parent07819487b653165bff4f48d160764d69d24e787b (diff)
downloadwsgitools-a9ccca793ab1f51561273bbcb38421b117cd507a.tar.gz
socket.socket.recv requires a parameter
Diffstat (limited to 'wsgitools/scgi')
-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 dd8b42d..257a29e 100644
--- a/wsgitools/scgi/forkpool.py
+++ b/wsgitools/scgi/forkpool.py
@@ -27,7 +27,7 @@ class SocketFileWrapper:
"""
if size is None:
try:
- data = self.sock.recv()
+ data = self.sock.recv(4096)
except socket.error, why:
if why[0] in (errno.ECONNRESET, errno.ENOTCONN,
errno.ESHUTDOWN):