aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/http.d.tl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-06-16 23:53:00 +0200
committerKim Alvefur <zash@zash.se>2021-06-16 23:53:00 +0200
commitf55f6be0ff08fdbc44f0b88cc759885eb1296055 (patch)
treecb915e806b9fdfdd170b7525652030bab001feda /teal-src/util/http.d.tl
parentaa041ffa1060e07be9a02ef6b523623f364f962a (diff)
downloadprosody-f55f6be0ff08fdbc44f0b88cc759885eb1296055.tar.gz
prosody-f55f6be0ff08fdbc44f0b88cc759885eb1296055.zip
mod_s2s: Bail if connection is destroyed after attempting to open stream
Fixes "attempt to compare number with nil" because `session.version` has been cleared by s2smanager.destroy_session. This can happen with the server_epoll setting opportunistic_writes enabled, which means that it can notice that the connection failed at this point, after which it triggers the whole chain of events that leads to session destruction and "cleaning" most of the session fields.
Diffstat (limited to 'teal-src/util/http.d.tl')
0 files changed, 0 insertions, 0 deletions