mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-06-18 05:28:22 +00:00
ignore no route to host error
This commit is contained in:
+2
-1
@@ -1066,7 +1066,8 @@ def loop_exception_handler(loop, context):
|
||||
return
|
||||
if isinstance(exception, OSError):
|
||||
IGNORE_ERRNO = {
|
||||
10038 # operation on non-socket on Windows, likely because fd == -1
|
||||
10038, # operation on non-socket on Windows, likely because fd == -1
|
||||
113 # no route to host
|
||||
}
|
||||
if exception.errno in IGNORE_ERRNO:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user