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

--- Comment #1 from Yann Ylavic <[email protected]> ---
Thanks Armin for the detailed report.

For MPM worker and event, all signals should be blocked by default for all
threads, then som specific threads unblock dedicated signals for their own
wakeup (like SIGHUP for the listener thread).

The general blocking is done by apr_setup_signal_thread() from child_main(),
that is at the very beginning of the child process when it's still single
threaded. This should be inherited by further threads, unless we should really
call sigprocmask() here instead of pthread_sigmask(), irrespective of
SIGPROCMASK_SETS_THREAD_MASK, or (more exactly) especially if
PTHREAD_SIGMASK_DOES_NOT_SET_PROC_MASK for a single threaded process.
That doesn't seem to have caused issues w/o mod_http2 so far, so probably not
the good track.

So it looks like mod_http2 is special w.r.t. threads, but I don't hink the
right fix is to play with the mask of each possible thread created there (or
outside the MPM), that'd be a nightmare for maintenance. I'd rather we find out
what's special on the mod_http2 side...

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to