From ad80b8a0013af3c93e3062de35f452443a1408e9 Mon Sep 17 00:00:00 2001 From: Manoj Kasichainula Date: Sat, 30 Oct 1999 01:49:53 +0000 Subject: [PATCH] Force ap_put_os_sock() to create a new ap_socket_t by presetting what's passed in to NULL. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84071 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/dexter/dexter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/mpm/dexter/dexter.c b/server/mpm/dexter/dexter.c index 7736f4c09b..dc0ec76dc0 100644 --- a/server/mpm/dexter/dexter.c +++ b/server/mpm/dexter/dexter.c @@ -918,6 +918,7 @@ static void *worker_thread(void *arg) /* XXX: Should we check for POLLERR? */ if (listenfds[curr_pollfd].revents & POLLIN) { last_pollfd = curr_pollfd; + sd = NULL; ap_put_os_sock(&sd, &listenfds[curr_pollfd].fd, ptrans); goto got_fd; } -- 2.40.0