Commit d5bd2c97 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

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
parent 6d860c89
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)