Consider ERROR_NETNAME_DELETED as ConnectionAbortedError. (#460)

This commit is contained in:
Eugene Kabanov 2023-10-31 03:43:58 +02:00 committed by GitHub
parent a70b145964
commit be2edab3ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1096,7 +1096,7 @@ when defined(windows):
retFuture.fail(getServerUseClosedError())
server.clean()
of WSAENETDOWN, WSAENETRESET, WSAECONNABORTED, WSAECONNRESET,
WSAETIMEDOUT:
WSAETIMEDOUT, ERROR_NETNAME_DELETED:
server.asock.closeSocket()
retFuture.fail(getConnectionAbortedError(ovl.data.errCode))
server.clean()