handle errno 10035
This commit is contained in:
@@ -337,7 +337,8 @@ 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 == 11:
|
if err.errno in [11, 10035]:
|
||||||
|
print_log("socket errno", err.errno)
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user