]> granicus.if.org Git - apache/commitdiff
A bit of cleanup
authorBill Stoddard <stoddard@apache.org>
Sat, 21 Oct 2000 12:15:32 +0000 (12:15 +0000)
committerBill Stoddard <stoddard@apache.org>
Sat, 21 Oct 2000 12:15:32 +0000 (12:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86682 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index 272992a8180e04299fba8b27e44d95b8ec5a729b..1b05475aadc180e641048f64bdcdb7cd55b0159f 100644 (file)
@@ -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);
         }