diff options
author | Kim Alvefur <zash@zash.se> | 2024-11-02 18:10:25 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2024-11-02 18:10:25 +0100 |
commit | 2c61955e3aa384926c02322505e22cb446c333d5 (patch) | |
tree | d474aa66c71dac6bd40ed284ec6f83b363599960 /tests/json | |
parent | f964cc51bba298633c58d2ae640a7ddd1feb9eed (diff) | |
download | prosody-2c61955e3aa384926c02322505e22cb446c333d5.tar.gz prosody-2c61955e3aa384926c02322505e22cb446c333d5.zip |
mod_smacks: Destroy timed out session in async context (fixes #1884)
Prevents ASYNC-01 due to storage interactions in a timer.
Also considered modifying mod_c2s to allow passing arbitrary closures
into its runner thread but this seems like a big step away from the
current code for just this module.
Also considered creating a dedicated runner in mod_smacks, but ensuring
continuity across module reloads might be tricky.
We could further improve this in the next major version.
Diffstat (limited to 'tests/json')
0 files changed, 0 insertions, 0 deletions