Browse Source

Merge pull request #64 from EagleTM/master

sockettimeout for header downloads
283
EagleTM 12 years ago
parent
commit
6c8bb596a4
  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