Navigation Menu

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

Commit

Permalink
win: stop reading on tcp receive error
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Aug 26, 2011
1 parent 6490c6a commit 27c52a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win/tcp.c
Expand Up @@ -694,6 +694,7 @@ void uv_process_tcp_read_req(uv_tcp_t* handle, uv_req_t* req) {
} else {
/* Ouch! serious error. */
uv_set_sys_error(err);
handle->flags &= ~UV_HANDLE_READING;
handle->read_cb((uv_stream_t*)handle, -1, buf);
}
break;
Expand Down

0 comments on commit 27c52a6

Please sign in to comment.