From: Bill Stoddard Date: Sat, 21 Oct 2000 12:15:32 +0000 (+0000) Subject: A bit of cleanup X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f61b570ed353ba7ca9b27785424cd5dbbdfea7a4;p=apache A bit of cleanup git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86682 13f79535-47bb-0310-9956-ffa450edef68 --- 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); }