Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

win: stop reading on tcp receive error

  • Loading branch information...
piscisaureus committed Aug 26, 2011
1 parent 6490c6a commit 27c52a603457b1c02cecc31400f47a04a75d9e5d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/win/tcp.c
@@ -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;

0 comments on commit 27c52a6

Please sign in to comment.
You can’t perform that action at this time.