Commit 2dc16835 authored by Yann Ylavic's avatar Yann Ylavic
Browse files

event: close a race condition where we might re-enable listeners while they

are already or about to be closed.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1774541 13f79535-47bb-0310-9956-ffa450edef68
parent 1d7485e9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -490,6 +490,9 @@ static void disable_listensocks(int process_slot)
static void enable_listensocks(int process_slot)
{
    int i;
    if (listener_may_exit) {
        return;
    }
    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(00457)
                 "Accepting new connections again: "
                 "%u active conns (%u lingering/%u clogged/%u suspended), "