We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b053c2a commit 56a1e65Copy full SHA for 56a1e65
Lib/http/server.py
@@ -1291,7 +1291,7 @@ def run_cgi(self):
1291
cursize = 0
1292
data = self.rfile.read(min(nbytes, _MIN_READ_BUF_SIZE))
1293
while (len(data) < nbytes and len(data) != cursize and
1294
- select.select([self.rfile._sock], [], [], 0)[0]):
+ select.select([self.rfile._sock], [], [], None)[0]):
1295
cursize = len(data)
1296
# This is a geometric increase in read size (never more
1297
# than doubling our the current length of data per loop
0 commit comments