Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test_server.py

Issue 29334529: Issue 3572 - Allowed address reuse for test server (Closed)
Patch Set: Created Jan. 29, 2016, 6:16 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test_server.py
===================================================================
--- a/test_server.py
+++ b/test_server.py
@@ -21,6 +21,7 @@
PORT = ("127.0.0.1", 5000)
+SocketServer.TCPServer.allow_reuse_address = True
Sebastian Noack 2016/02/02 10:54:21 I'd rather not monkey-patch the corelib. This will
httpd = SocketServer.TCPServer(PORT, SimpleHTTPServer.SimpleHTTPRequestHandler)
if __name__ == "__main__":
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld