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 a8b5235 commit 4fd62648830a70333ac8d467a867ad2cb0d66d6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/unix/stream.c
@@ -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);

0 comments on commit 4fd6264

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