mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-12 10:13:58 +00:00
ignore no route to host error
This commit is contained in:
1 parent
c0ed5e1e38
commit
33fabe7590
1 file changed
+2
-1
+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