handle errno 10035

This commit is contained in:
ecdsa 2013-04-27 10:22:01 +02:00
parent 7653408ff4
commit 6069939003
1 changed files with 2 additions and 1 deletions

View File

@ -337,7 +337,8 @@ class Interface(threading.Thread):
except ssl.SSLError:
timeout = True
except socket.error, err:
if err.errno == 11:
if err.errno in [11, 10035]:
print_log("socket errno", err.errno)
time.sleep(0.1)
continue
else: