summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc
diff options
context:
space:
mode:
authorIdan Kapustian <71190257+idankap@users.noreply.github.com>2024-06-16 12:15:03 (GMT)
committerGitHub <noreply@github.com>2024-06-16 12:15:03 (GMT)
commit192d17c3fd9945104bc0303cf248bb0d074d260e (patch)
tree2a9fd31fa0531c5c9b3ac2237c9ec79f98f0bce0 /Lib/xmlrpc
parent0c0348adbfca991f78b3aaa6790e5c26606a1c0f (diff)
downloadcpython-192d17c3fd9945104bc0303cf248bb0d074d260e.zip
cpython-192d17c3fd9945104bc0303cf248bb0d074d260e.tar.gz
cpython-192d17c3fd9945104bc0303cf248bb0d074d260e.tar.bz2
gh-120485: Add an override of `allow_reuse_port` on classes subclassing `socketserver.TCPServer` (GH-120488)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Diffstat (limited to 'Lib/xmlrpc')
-rw-r--r--Lib/xmlrpc/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py
index 4dddb1d..90a356f 100644
--- a/Lib/xmlrpc/server.py
+++ b/Lib/xmlrpc/server.py
@@ -578,6 +578,7 @@ class SimpleXMLRPCServer(socketserver.TCPServer,
"""
allow_reuse_address = True
+ allow_reuse_port = True
# Warning: this is for debugging purposes only! Never set this to True in
# production code, as will be sending out sensitive information (exception