From 00632121ed40992a53efb2eaeaab7b9ae0455fa4 Mon Sep 17 00:00:00 2001 From: Martin Kraemer Date: Fri, 25 Oct 2002 21:12:23 +0000 Subject: [PATCH] csd and dupped_csd are sockets, so they ought to handled in ap_note_cleanups_for_socket(). (Not noticed before because ap_note_cleanups_for_socket() and ap_note_cleanups_for_fd() simply close the fd, except for OSs where closesocket() in different from close()) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@97306 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/http_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/http_main.c b/src/main/http_main.c index 6bd8dce1c20..34e7d6d7396 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -4517,7 +4517,7 @@ static void child_main(int child_num_arg) */ signal(SIGUSR1, SIG_IGN); - ap_note_cleanups_for_fd(ptrans, csd); + ap_note_cleanups_for_socket(ptrans, csd); /* protect various fd_sets */ #ifdef CHECK_FD_SETSIZE @@ -4565,7 +4565,7 @@ static void child_main(int child_num_arg) "dup: couldn't duplicate csd"); dupped_csd = csd; /* Oh well... */ } - ap_note_cleanups_for_fd(ptrans, dupped_csd); + ap_note_cleanups_for_socket(ptrans, dupped_csd); /* protect various fd_sets */ #ifdef CHECK_FD_SETSIZE -- 2.47.2