Software /
code /
prosody
Comparison
plugins/mod_groups.lua @ 11517:f7275c2c58fa
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`
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 14 Apr 2021 16:02:47 +0200 |
parent | 10111:0f335815244f |
child | 12977:74b9e05af71e |
comparison
equal
deleted
inserted
replaced
11516:83822be7704d | 11517:f7275c2c58fa |
---|