summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/forkpool.py
diff options
context:
space:
mode:
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 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):