Fixed #18336 -- Doubled request_queue_size.

This reduces random failures to load static files with Google Chrome.
This commit is contained in:
Aymeric Augustin 2013-04-28 10:47:07 +02:00
parent 4769db6b5f
commit 4ff682c1ba
1 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,8 @@ class ServerHandler(simple_server.ServerHandler, object):
class WSGIServer(simple_server.WSGIServer, object):
"""BaseHTTPServer that implements the Python WSGI protocol"""
request_queue_size = 10
def __init__(self, *args, **kwargs):
if kwargs.pop('ipv6', False):
self.address_family = socket.AF_INET6