netrender:

sensible timeout on connection attempt
fix for operator api change
This commit is contained in:
2010-03-12 03:12:27 +00:00
parent 86c237b3a5
commit 4faedb3d91
2 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ def clientConnection(address, port, report = None, scan = True):
return None
try:
conn = http.client.HTTPConnection(address, port)
conn = http.client.HTTPConnection(address, port, timeout = 5)
if conn:
if clientVerifyVersion(conn):