Commit 4a72bd95 authored by Likun Zhang's avatar Likun Zhang
Browse files

Make the socket address can be reused.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent bff50de1
......@@ -176,6 +176,8 @@ class CommandControl():
class SecureHTTPServer(http.server.HTTPServer):
'''Make the server address can be reused.'''
allow_reuse_address = True
def __init__(self, server_address, RequestHandlerClass):
http.server.HTTPServer.__init__(self, server_address, RequestHandlerClass)
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