https://bz.apache.org/bugzilla/show_bug.cgi?id=60487

--- Comment #7 from Yann Ylavic <ylavic....@gmail.com> ---
(In reply to Eric Covener from comment #2)
> 
> Maybe a good sanity check would be to look
> for mpm_state == AP_MPMQ_STARTING when retained == NULL and no-op'ing it
> altogether.  An even safer option might be to only handle the graceful
> flavors w/ the new block, to avoid the chance a hard stop or hard restart is
> ignored if we're missing something?

I think we should avoid touching anything scoped/static to the mpm module (dso)
in a signal handler, otherwise any signal delivered while the module is
unloaded might raise the fault.

That is: mpm_state, shutdown_pending, restart_pending and retained.

How about allocating them (in a struct) from ap_pglobal?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to