On Thu, Dec 15, 2016 at 2:47 PM, Yann Ylavic <[email protected]> wrote:
> If we want to kill keepalive connections early on restart/shutdown I'd rather 
> :
>
> Index: server/mpm/event/event.c
> ===================================================================
> --- server/mpm/event/event.c    (revision 1774260)
> +++ server/mpm/event/event.c    (working copy)
> @@ -1865,6 +1865,7 @@ static void * APR_THREAD_FUNC listener_thread(apr_
>              if (terminate_mode == ST_UNGRACEFUL
>                  || apr_atomic_read32(&connection_count) == 0)
>                  break;
> +            process_keepalive_queue(0); /* kill'em all \m/ */
>          }
>
>          if (conns_this_child <= 0)
> _
>
> so that we don't trigger it on any possible poll() EINTR.
>
> Does it work for you?

Seems to do the trick and terminate earlier  / makes my temporary
traces more sensible



-- 
Eric Covener
[email protected]

Reply via email to