Merge pull request #549 from dmcdad/patch-1
Fix timeout problem in interface.py.
This commit is contained in:
commit
8c9a26cbf7
|
@ -427,7 +427,9 @@ class Interface(threading.Thread):
|
||||||
except ssl.SSLError:
|
except ssl.SSLError:
|
||||||
timeout = True
|
timeout = True
|
||||||
except socket.error, err:
|
except socket.error, err:
|
||||||
if err.errno in [11, 10035]:
|
if err.errno == 60:
|
||||||
|
timeout = True
|
||||||
|
elif err.errno in [11, 10035]:
|
||||||
print_error("socket errno", err.errno)
|
print_error("socket errno", err.errno)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue