mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-13 23:03:09 +00:00
ignore no route to host error
This commit is contained in:
@@ -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