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

Commit

Permalink
unix: handle EWOULDBLOCK in uv__write()
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Apr 21, 2012
1 parent a8b5235 commit 4fd6264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/stream.c
Expand Up @@ -428,7 +428,7 @@ static void uv__write(uv_stream_t* stream) {
}

if (n < 0) {
if (errno != EAGAIN) {
if (errno != EAGAIN && errno != EWOULDBLOCK) {
/* Error */
req->error = errno;
stream->write_queue_size -= uv__write_req_size(req);
Expand Down

0 comments on commit 4fd6264

Please sign in to comment.