From d182bcef3bbba9107cb808134d79ffe930be3e14 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Fri, 12 Oct 2018 19:59:17 +0200 Subject: More transient errors --- demo-json-rpc-server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo-json-rpc-server.c b/demo-json-rpc-server.c index 6ae1742..56b931d 100644 --- a/demo-json-rpc-server.c +++ b/demo-json-rpc-server.c @@ -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; } -- cgit v1.2.3-70-g09d2