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

unix: handle EWOULDBLOCK in uv__server_io()

  • Loading branch information...
bnoordhuis committed Apr 21, 2012
1 parent 73cc367 commit df22d5935eb0fd44e2c6e3773308fcebb0ab646c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/unix/stream.c
@@ -176,7 +176,7 @@ void uv__server_io(EV_P_ ev_io* watcher, int revents) {
fd = uv__accept(stream->fd, (struct sockaddr*)&addr, sizeof addr);

if (fd < 0) {
if (errno == EAGAIN) {
if (errno == EAGAIN || errno == EWOULDBLOCK) {
/* No problem. */
return;
} else if (errno == EMFILE) {

0 comments on commit df22d59

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