aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/register.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-03-02 13:23:24 +0100
committerKim Alvefur <zash@zash.se>2024-03-02 13:23:24 +0100
commit3036a689fa42a1830eb5e8181f3e53aba52cee39 (patch)
treed2406c0a02cc66634e44b35bda12da4658d05ebf /plugins/muc/register.lib.lua
parented0188ce815b61bac484d406371e68e4b2e52843 (diff)
downloadprosody-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 'plugins/muc/register.lib.lua')
0 files changed, 0 insertions, 0 deletions