Internal server: Shutdown server via socket

This commit is contained in:
Unrud
2020-10-04 14:11:43 +02:00
parent c8b31637ef
commit 0e8949ff71
3 changed files with 23 additions and 6 deletions

View File

@@ -61,6 +61,7 @@ class ParallelHTTPServer(socketserver.ThreadingMixIn,
# We wait for child threads ourself
block_on_close = False
daemon_threads = True
def __init__(self, configuration, family, address, RequestHandlerClass):
self.configuration = configuration