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

Commit

Permalink
add linux connection reset code, should fix issue #206, or at least t…
Browse files Browse the repository at this point in the history
…he abort
  • Loading branch information
jsievert committed Nov 6, 2011
1 parent 16d48be commit 6f07f56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/uv.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ typedef enum {
UV_EAISERVICE, UV_EAISERVICE,
UV_EAISOCKTYPE, UV_EAISOCKTYPE,
UV_ESHUTDOWN, UV_ESHUTDOWN,
UV_EEXIST UV_EEXIST,
UV_ECONNRESETLINUX = 104
} uv_err_code; } uv_err_code;


typedef enum { typedef enum {
Expand Down
1 change: 1 addition & 0 deletions src/uv-common.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const char* uv_err_name(uv_err_t err) {
case UV_EAISOCKTYPE: return "EAISOCKTYPE"; case UV_EAISOCKTYPE: return "EAISOCKTYPE";
case UV_ESHUTDOWN: return "ESHUTDOWN"; case UV_ESHUTDOWN: return "ESHUTDOWN";
case UV_EEXIST: return "EEXIST"; case UV_EEXIST: return "EEXIST";
case UV_ECONNRESETLINUX: return "ECONNRESET";
default: default:
assert(0); assert(0);
return NULL; return NULL;
Expand Down

0 comments on commit 6f07f56

Please sign in to comment.