summaryrefslogtreecommitdiffstats
path: root/Lib/SocketServer.py
diff options
context:
space:
mode:
authorMoshe Zadka <moshez@math.huji.ac.il>2000-12-13 20:39:22 (GMT)
committerMoshe Zadka <moshez@math.huji.ac.il>2000-12-13 20:39:22 (GMT)
commitdd802208a739b96b7dea0d9533e34f6410b843ce (patch)
tree956dea53fca95caad7e630b67898e9a5af5f39c6 /Lib/SocketServer.py
parenta63bd1c65be930fbc42d66fc88eabd22da800d21 (diff)
downloadcpython-dd802208a739b96b7dea0d9533e34f6410b843ce.zip
cpython-dd802208a739b96b7dea0d9533e34f6410b843ce.tar.gz
cpython-dd802208a739b96b7dea0d9533e34f6410b843ce.tar.bz2
Changing allow_reuse_address's default value, and documenting it.
Diffstat (limited to 'Lib/SocketServer.py')
-rw-r--r--Lib/SocketServer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/SocketServer.py b/Lib/SocketServer.py
index a263f8e..c7439dd 100644
--- a/Lib/SocketServer.py
+++ b/Lib/SocketServer.py
@@ -157,7 +157,7 @@ class TCPServer:
request_queue_size = 5
- allow_reuse_address = 0
+ allow_reuse_address = 1
def __init__(self, server_address, RequestHandlerClass):
"""Constructor. May be extended, do not override."""