mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12977)
This commit is contained in:
parent
b1fc417841
commit
14738ff83d
2 changed files with 4 additions and 1 deletions
|
@ -127,7 +127,8 @@ class WSGIRequestHandler(BaseHTTPRequestHandler):
|
|||
return
|
||||
|
||||
handler = ServerHandler(
|
||||
self.rfile, self.wfile, self.get_stderr(), self.get_environ()
|
||||
self.rfile, self.wfile, self.get_stderr(), self.get_environ(),
|
||||
multithread=False,
|
||||
)
|
||||
handler.request_handler = self # backpointer for logging
|
||||
handler.run(self.server.get_app())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue