summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/SocketServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py
index 9a646ab..6c371e2 100644
--- a/Lib/SocketServer.py
+++ b/Lib/SocketServer.py
@@ -392,7 +392,7 @@ class StreamRequestHandler(BaseRequestHandler):
def setup(self):
self.connection = self.request
- self.rfile = self.connection.makefile('rb')
+ self.rfile = self.connection.makefile('rb', 0)
self.wfile = self.connection.makefile('wb', 0)
def finish(self):