]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Win32: Enable lingering close.
authorBill Stoddard <stoddard@apache.org>
Mon, 14 Aug 2000 21:42:55 +0000 (21:42 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 14 Aug 2000 21:42:55 +0000 (21:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86074 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/mpm_winnt.c

index 4fea851dc949bcfc25e5c54e4cb1079ee44523ad..9f0c20343690f40600fb56c52d09c2f77f54a755 100644 (file)
@@ -1145,14 +1145,7 @@ static void worker_main(int child_num)
         }
         else {
             context->accept_socket = INVALID_SOCKET;
-            /* Disable lingering close for the moment to fix a seg fault.
-             * All the sendfile code needs some serious work to return 
-             * proper error values, handle updating bytes_sent, etc.
-             * I'll enable lingering close after I've fixed the sendfile
-             * code
-             * ap_lingering_close(c);
-             */
-            ap_bclose(c->client);
+            ap_lingering_close(c);
         }
     }