mirror of
https://github.com/python/cpython.git
synced 2024-11-25 10:54:51 +08:00
Make self.rfile unbuffered (self.wfile already is). This should fix
CGIHTTPServer.py when used with the POST command.
This commit is contained in:
parent
fde7a75b78
commit
d804bab721
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user