add timeout error to errno

This commit is contained in:
Alexander Bersenev
2018-07-05 15:45:53 +05:00
parent 0a7e2d85b8
commit 6f8bfdb568

View File

@@ -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 = {