Commit 0acb7577 authored by Shane Kerr's avatar Shane Kerr
Browse files

Convert from fork & exec server to a threaded server.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1411 e5f2f494-b856-4b98-b285-d166d9295462
parent 6d3e50f8
......@@ -28,6 +28,7 @@ resut to client.
import sys; sys.path.append ('@@PYTHONPATH@@')
import os
import socketserver
import http.server
import urllib.parse
import json
......@@ -320,7 +321,7 @@ class CommandControl():
return 1, {'error': errstr}
class SecureHTTPServer(http.server.HTTPServer):
class SecureHTTPServer(socketserver.ThreadingMixIn, http.server.HTTPServer):
'''Make the server address can be reused.'''
allow_reuse_address = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment