bump timeouts in http and socks python scripts
This commit is contained in:
@@ -192,7 +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)
|
||||
soc.settimeout(120)
|
||||
print "Serving on %s:%d."%(host, port)#debug
|
||||
soc.bind((host, port))
|
||||
soc.listen(0)
|
||||
|
Reference in New Issue
Block a user