summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/cgihttps.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/cgihttps.py')
-rwxr-xr-xLib/dos-8x3/cgihttps.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/dos-8x3/cgihttps.py b/Lib/dos-8x3/cgihttps.py
index fa30cbd..6a259a3 100755
--- a/Lib/dos-8x3/cgihttps.py
+++ b/Lib/dos-8x3/cgihttps.py
@@ -35,6 +35,10 @@ class CGIHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
"""
+ # Make rfile unbuffered -- we need to read one line and then pass
+ # the rest to a subprocess, so we can't use buffered input.
+ rbufsize = 0
+
def do_POST(self):
"""Serve a POST request.