Browse Source

add sockettimeout to header download by HTTP

283
Eagle[TM] 12 years ago
parent
commit
12cc65abbd
  1. 3
      lib/verifier.py

3
lib/verifier.py

@ -298,7 +298,8 @@ class WalletVerifier(threading.Thread):
return
try:
import urllib
import urllib, socket
socket.setdefaulttimeout(30)
print_error("downloading ", self.headers_url )
urllib.urlretrieve(self.headers_url, filename)
except:

Loading…
Cancel
Save