From 466ced7d024d70efc550830f9c86056c0641fbf3 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Thu, 15 Dec 2016 21:32:50 +0000 Subject: 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 --- server/mpm/event/event.c | 1 + 1 file changed, 1 insertion(+) (limited to 'server') diff --git a/server/mpm/event/event.c b/server/mpm/event/event.c index 01dc6c5eb7..2bd86c51ad 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) -- cgit v1.2.3