mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-21 18:15:50 +00:00
ignore no route to host error
This commit is contained in:
@@ -1066,7 +1066,8 @@ def loop_exception_handler(loop, context):
|
|||||||
return
|
return
|
||||||
if isinstance(exception, OSError):
|
if isinstance(exception, OSError):
|
||||||
IGNORE_ERRNO = {
|
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:
|
if exception.errno in IGNORE_ERRNO:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user