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

unix: handle EWOULDBLOCK in uv__write()

  • Loading branch information...
bnoordhuis committed Apr 21, 2012
1 parent df22d59 commit 01cc491853ab0084b4f4dacf5ab0ca0580428ad4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/unix/stream.c
@@ -416,7 +416,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);

0 comments on commit 01cc491

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