httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1774525 - /httpd/httpd/trunk/server/mpm/event/event.c
Date Thu, 15 Dec 2016 21:32:50 GMT
Author: jim
Date: Thu Dec 15 21:32:50 2016
New Revision: 1774525

URL: http://svn.apache.org/viewvc?rev=1774525&view=rev
Log:
kill the keepalive conns as early as possible during graceful
process exit.

Modified:
    httpd/httpd/trunk/server/mpm/event/event.c

Modified: httpd/httpd/trunk/server/mpm/event/event.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/event.c?rev=1774525&r1=1774524&r2=1774525&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/event/event.c (original)
+++ httpd/httpd/trunk/server/mpm/event/event.c Thu Dec 15 21:32:50 2016
@@ -1865,6 +1865,7 @@ static void * APR_THREAD_FUNC listener_t
             if (terminate_mode == ST_UNGRACEFUL
                 || apr_atomic_read32(&connection_count) == 0)
                 break;
+            process_keepalive_queue(0); /* kill'em all early \m/ */
         }
 
         if (conns_this_child <= 0)



Mime
View raw message