From f61b570ed353ba7ca9b27785424cd5dbbdfea7a4 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Sat, 21 Oct 2000 12:15:32 +0000 Subject: [PATCH] A bit of cleanup git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86682 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/winnt/mpm_winnt.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 272992a818..1b05475aad 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -1147,16 +1147,7 @@ static void worker_main(int child_num) apr_getsocketopt(context->sock, APR_SO_DISCONNECTED, &disconnected); - if (disconnected) { - /* I have no idea if we should do anything here, so I leave this - * for a windows guy - */ - /* Kill the clean-up registered by the iol. We want to leave - * the accept socket open because we are about to try to - * reuse it - */ - } - else { + if (!disconnected) { context->accept_socket = INVALID_SOCKET; ap_lingering_close(c); } -- 2.50.1