diff options
author | Přemysl Janouch <p@janouch.name> | 2018-10-12 19:59:17 +0200 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-10-12 20:02:42 +0200 |
commit | d182bcef3bbba9107cb808134d79ffe930be3e14 (patch) | |
tree | 789a04daf4b70a24ad03e5fb879f7280f45b334e | |
parent | 329fc9b88fa419ef2c3a32ccc4414dec223bd69d (diff) | |
download | json-rpc-shell-d182bcef3bbba9107cb808134d79ffe930be3e14.tar.gz json-rpc-shell-d182bcef3bbba9107cb808134d79ffe930be3e14.tar.xz json-rpc-shell-d182bcef3bbba9107cb808134d79ffe930be3e14.zip |
More transient errors
-rw-r--r-- | demo-json-rpc-server.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |