diff options
author | Kim Alvefur <zash@zash.se> | 2021-04-14 16:02:47 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-04-14 16:02:47 +0200 |
commit | 21fa25b27b77a10ec6547adc2c16f66c48f1eb7f (patch) | |
tree | d45d5b4f50a0045a1d67d3b7613f3eca5fac94e0 /teal-src/util/crand.d.tl | |
parent | a4a008e046e060eb3d0d697b2a1445a62120d91d (diff) | |
download | prosody-21fa25b27b77a10ec6547adc2c16f66c48f1eb7f.tar.gz prosody-21fa25b27b77a10ec6547adc2c16f66c48f1eb7f.zip |
mod_c2s: Fix traceback if session was destroyed while opening stream (thanks Ge0rG)
Could happen with the 'opportunistic_writes' setting, since then the
stream opening is written directly to the socket, which can in turn
trigger session destruction if the socket somehow got closed just after
the other sent their stream header.
Error happens later when it tries to `hosts[session.host == nil].events`
Diffstat (limited to 'teal-src/util/crand.d.tl')
0 files changed, 0 insertions, 0 deletions