Win: map STATUS_HOPLIMIT_EXCEEDED status to WSAECONNRESET error

This commit is contained in:
Bert Belder 2011-11-24 18:00:04 +01:00
parent 0ded5d29cd
commit 261d792a7a

View File

@ -144,6 +144,7 @@ int uv_ntstatus_to_winsock_error(NTSTATUS status) {
case STATUS_LINK_FAILED:
case STATUS_CONNECTION_DISCONNECTED:
case STATUS_PORT_UNREACHABLE:
case STATUS_HOPLIMIT_EXCEEDED:
return WSAECONNRESET;
case STATUS_LOCAL_DISCONNECT: