diff options
Diffstat (limited to 'wsgitools')
-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 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): |