diff options
author | Kim Alvefur <zash@zash.se> | 2024-03-02 13:23:24 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-03-02 13:23:24 +0100 |
commit | 3036a689fa42a1830eb5e8181f3e53aba52cee39 (patch) | |
tree | d2406c0a02cc66634e44b35bda12da4658d05ebf /spec/json/fail12.json | |
parent | ed0188ce815b61bac484d406371e68e4b2e52843 (diff) | |
download | prosody-3036a689fa42a1830eb5e8181f3e53aba52cee39.tar.gz prosody-3036a689fa42a1830eb5e8181f3e53aba52cee39.zip |
mod_posix: Move POSIX signal handling into util.startup to avoid race
When libunbound is initialized, it spawns a thread to work in.
In case a module initializes libunbound, e.g. by triggering a s2s
connection, Prosody would not handle signals, instead immediately quit
on e.g. the reload (SIGHUP) signal. Likely because the libunbound thread
would not have inherited the signal mask from the main Prosody thread.
Thanks Menel, riau and franck-x for reporting and help narrowing down
Diffstat (limited to 'spec/json/fail12.json')
0 files changed, 0 insertions, 0 deletions