From: Jim Jagielski Date: Thu, 15 Dec 2016 21:32:50 +0000 (+0000) Subject: kill the keepalive conns as early as possible during graceful X-Git-Tag: 2.5.0-alpha~902 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=466ced7d024d70efc550830f9c86056c0641fbf3;p=thirdparty%2Fapache%2Fhttpd.git kill the keepalive conns as early as possible during graceful process exit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1774525 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 01dc6c5eb72..2bd86c51ad4 100644 --- a/server/mpm/event/event.c +++ b/server/mpm/event/event.c @@ -1865,6 +1865,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t * thd, void *dummy) 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)