Merge 3.2: issue #13140

This commit is contained in:
Florent Xicluna 2011-11-04 10:22:57 +01:00
commit 495dcbd5c1
3 changed files with 3 additions and 3 deletions

View file

@ -606,8 +606,7 @@ class ThreadingMixIn:
"""Start a new thread to process the request."""
t = threading.Thread(target = self.process_request_thread,
args = (request, client_address))
if self.daemon_threads:
t.daemon = True
t.daemon = self.daemon_threads
t.start()