Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
14738ff8
Commit
14738ff8
authored
May 24, 2019
by
Berker Peksag
Committed by
GitHub
May 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-8138: Initialize wsgiref's SimpleServer as single-threaded (GH-12977)
parent
b1fc4178
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Lib/wsgiref/simple_server.py
Lib/wsgiref/simple_server.py
+2
-1
Misc/NEWS.d/next/Library/2019-04-27-02-54-23.bpo-8138.osBRGI.rst
...WS.d/next/Library/2019-04-27-02-54-23.bpo-8138.osBRGI.rst
+2
-0
No files found.
Lib/wsgiref/simple_server.py
View file @
14738ff8
...
...
@@ -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
())
...
...
Misc/NEWS.d/next/Library/2019-04-27-02-54-23.bpo-8138.osBRGI.rst
0 → 100644
View file @
14738ff8
Don't mark ``wsgiref.simple_server.SimpleServer`` as multi-threaded since
``wsgiref.simple_server.WSGIServer`` is single-threaded.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment