diff --git a/src/sock.c b/src/sock.c index 5afa59f33..7ccdbd3ba 100644 --- a/src/sock.c +++ b/src/sock.c @@ -104,7 +104,6 @@ struct connection *sock_accept_conn(struct listener *l, int *status) if (likely(cfd != -1)) { if (unlikely(cfd >= global.maxsock)) { - close(cfd); send_log(p, LOG_EMERG, "Proxy %s reached the configured maximum connection limit. Please check the global 'maxconn' value.\n", p->id);