Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Win: map STATUS_HOPLIMIT_EXCEEDED status to WSAECONNRESET error
  • Loading branch information
piscisaureus committed Nov 24, 2011
1 parent 0ded5d2 commit 261d792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win/winsock.c
Expand Up @@ -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:
Expand Down

0 comments on commit 261d792

Please sign in to comment.