Comparison

util/error.lua @ 11609:6dcc45a2e3bc

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.
author Kim Alvefur <zash@zash.se>
date Wed, 16 Jun 2021 23:53:00 +0200 (2021-06-16)
parent 11224:8143fd2f138b
child 12975:d10957394a3c
child 13078:6da83deb8d7f
comparison
equal deleted inserted replaced
11608:b2610460d9ab 11609:6dcc45a2e3bc