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

Commit

Permalink
win: uv_pipe_queue_read should set read_pending flag
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Sep 25, 2011
1 parent 985f1a1 commit 77bc00e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/win/pipe.c
Expand Up @@ -678,6 +678,8 @@ static void uv_pipe_queue_read(uv_loop_t* loop, uv_pipe_t* handle) {
/* Make this req pending reporting an error. */
SET_REQ_ERROR(req, WSAGetLastError());
uv_insert_pending_req(loop, req);

handle->flags |= UV_HANDLE_READ_PENDING;
handle->reqs_pending++;
return;
}
Expand Down

0 comments on commit 77bc00e

Please sign in to comment.