Issue #13140: Fix the daemon_threads attribute of ThreadingMixIn.

This commit is contained in:
Florent Xicluna 2011-11-04 10:15:57 +01:00
parent 09f871462f
commit 5f761d79c0
3 changed files with 3 additions and 3 deletions

View file

@ -589,8 +589,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.setDaemon (1)
t.daemon = self.daemon_threads
t.start()