From cf5c1fcebbb698a39603c92ea0928d1c603abbd5 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Fri, 8 Jun 2007 16:06:23 +0000 Subject: [PATCH] made the wrong fd non-blocking in accept_socket; from szjwwu svn:r364 --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index e69c33a5..88c86959 100644 --- a/http.c +++ b/http.c @@ -1873,7 +1873,7 @@ accept_socket(int fd, short what, void *arg) event_warn("%s: bad accept", __func__); return; } - if (event_make_socket_nonblocking(fd) < 0) + if (event_make_socket_nonblocking(nfd) < 0) return; evhttp_get_request(http, nfd, (struct sockaddr *)&ss, addrlen); -- 2.40.0