mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-22 10:35:49 +00:00
add timeout error to errno
This commit is contained in:
@@ -1066,6 +1066,7 @@ def loop_exception_handler(loop, context):
|
|||||||
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
|
||||||
|
121, # the semaphore timeout period has expired on Windows
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCE_CLOSE_ERRNO = {
|
FORCE_CLOSE_ERRNO = {
|
||||||
|
|||||||
Reference in New Issue
Block a user