Ticket #18336: basehttp.py.patch
File basehttp.py.patch, 555 bytes (added by , 13 years ago) |
---|
-
django/core/servers/basehttp.py
diff --git a/django/core/servers/basehttp.py b/django/core/servers/basehttp.py index 82c5aca..5f7821d 100644
a b def run(addr, port, wsgi_handler, ipv6=False, threading=False): 202 202 httpd_cls = type('WSGIServer', (ThreadingMixIn, WSGIServer), {}) 203 203 else: 204 204 httpd_cls = WSGIServer 205 httpd_cls.request_queue_size = 10 205 206 httpd = httpd_cls(server_address, WSGIRequestHandler, ipv6=ipv6) 206 207 httpd.set_app(wsgi_handler) 207 208 httpd.serve_forever()