Comparison

plugins/mod_storage_xep0227.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 8352:6ff50541d2a6
child 11789:f3085620b6ff
comparison
equal deleted inserted replaced
11516:83822be7704d 11517:f7275c2c58fa