summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/basehttp.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-29 19:35:29 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-29 19:35:29 (GMT)
commit3e06ab1d447442a56af739a906546d8d1998dfdc (patch)
tree23145a16354b8b2e59932767c6dc9a5b56bb12cf /Lib/dos-8x3/basehttp.py
parent45cd9de2bb2faa96bb18eb11d20261d7d1b8c20e (diff)
downloadcpython-3e06ab1d447442a56af739a906546d8d1998dfdc.zip
cpython-3e06ab1d447442a56af739a906546d8d1998dfdc.tar.gz
cpython-3e06ab1d447442a56af739a906546d8d1998dfdc.tar.bz2
The usual :)
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)