make socks.py and http.py shut themselves down after a timeout of inactivity (maybe that will fix the problem of them lingering, stalling tests). fix some issues in run_regression_tests.py
This commit is contained in:
@@ -192,6 +192,7 @@ def start_server(host='localhost', port=8080, IPv6=False, timeout=60,
|
||||
else:
|
||||
soc_type=socket.AF_INET
|
||||
soc = socket.socket(soc_type)
|
||||
soc.settimeout(50)
|
||||
print "Serving on %s:%d."%(host, port)#debug
|
||||
soc.bind((host, port))
|
||||
soc.listen(0)
|
||||
|
Reference in New Issue
Block a user