From 8737d99c269610b3ca6c4f91444c03da3362508a Mon Sep 17 00:00:00 2001 From: Yao Yue Date: Fri, 6 Sep 2019 16:39:33 -0700 Subject: [PATCH] continue on server socket on non-blocking errors (#209) --- src/channel/cc_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/channel/cc_tcp.c b/src/channel/cc_tcp.c index bbd685d2f..0cb1fcc46 100644 --- a/src/channel/cc_tcp.c +++ b/src/channel/cc_tcp.c @@ -340,7 +340,7 @@ _tcp_accept(struct tcp_conn *sc) log_error("accept on sd %d failed: %s", sc->sd, strerror(errno)); INCR(tcp_metrics, tcp_accept_ex); - return -1; + continue; } break;