More transient errors

This commit is contained in:
Přemysl Eric Janouch 2018-10-12 19:59:17 +02:00
parent 329fc9b88f
commit d182bcef3b
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 1 deletions

View File

@ -2285,7 +2285,8 @@ on_client_available (EV_P_ ev_io *watcher, int revents)
listener->create (EV_A_ sock_fd);
else if (errno == EAGAIN)
return;
else if (errno != EINTR && errno != ECONNABORTED)
else if (errno != EINTR && errno != EMFILE
&& errno != ECONNRESET && errno != ECONNABORTED)
break;
}