summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/basehttp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/basehttp.py')
-rwxr-xr-xLib/dos-8x3/basehttp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/dos-8x3/basehttp.py b/Lib/dos-8x3/basehttp.py
index 10a706e..ea5095a 100755
--- a/Lib/dos-8x3/basehttp.py
+++ b/Lib/dos-8x3/basehttp.py
@@ -87,6 +87,8 @@ DEFAULT_ERROR_MESSAGE = """\
class HTTPServer(SocketServer.TCPServer):
+ allow_reuse_address = 1 # Seems to make sense in testing environment
+
def server_bind(self):
"""Override server_bind to store the server name."""
SocketServer.TCPServer.server_bind(self)