mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-12 12:14:06 +00:00
add timeout error to errno
This commit is contained in:
1 parent
0a7e2d85b8
commit
6f8bfdb568
1 file changed
+1
@@ -1066,6 +1066,7 @@ def loop_exception_handler(loop, context):
|
||||
if isinstance(exception, OSError):
|
||||
IGNORE_ERRNO = {
|
||||
10038, # operation on non-socket on Windows, likely because fd == -1
|
||||
121, # the semaphore timeout period has expired on Windows
|
||||
}
|
||||
|
||||
FORCE_CLOSE_ERRNO = {
|
||||
|
||||
Reference in new issue
Block a user