From a9ccca793ab1f51561273bbcb38421b117cd507a Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 25 Oct 2009 20:19:46 +0100 Subject: socket.socket.recv requires a parameter --- wsgitools/scgi/forkpool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wsgitools/scgi/forkpool.py') 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): -- cgit v1.2.3