diff options
author | Jim Jagielski <jim@apache.org> | 2016-12-15 22:32:50 +0100 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2016-12-15 22:32:50 +0100 |
commit | 466ced7d024d70efc550830f9c86056c0641fbf3 (patch) | |
tree | 3e6f64b43872bd126f4393e1e147ef39b768d892 /server/mpm/event/event.c | |
parent | Documentation rebuild (diff) | |
download | apache2-466ced7d024d70efc550830f9c86056c0641fbf3.tar.xz apache2-466ced7d024d70efc550830f9c86056c0641fbf3.zip |
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
Diffstat (limited to '')
-rw-r--r-- | server/mpm/event/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |