httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1790973 - /httpd/httpd/trunk/server/mpm/winnt/child.c
Date Tue, 11 Apr 2017 13:41:44 GMT
Author: icing
Date: Tue Apr 11 13:41:44 2017
New Revision: 1790973

URL: http://svn.apache.org/viewvc?rev=1790973&view=rev
Log:
On the trunk:

mpm_winnt: always invoke ap_lingering_close() at connection end.


Modified:
    httpd/httpd/trunk/server/mpm/winnt/child.c

Modified: httpd/httpd/trunk/server/mpm/winnt/child.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/winnt/child.c?rev=1790973&r1=1790972&r2=1790973&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/winnt/child.c (original)
+++ httpd/httpd/trunk/server/mpm/winnt/child.c Tue Apr 11 13:41:44 2017
@@ -817,10 +817,8 @@ static DWORD __stdcall worker_main(void
 
         if (!disconnected) {
             context->accept_socket = INVALID_SOCKET;
-            if (!c->aborted) { 
-                ap_lingering_close(c);
-            }
         }
+        ap_lingering_close(c);
     }
 
     ap_update_child_status_from_indexes(0, thread_num, SERVER_DEAD, NULL);



Mime
View raw message