changeset 11613 | 6dcc45a2e3bc |
parent 11612 | b2610460d9ab |
child 11627 | cce5191a65a7 |
--- a/plugins/mod_s2s.lua Wed Jun 16 00:00:17 2021 +0200 +++ b/plugins/mod_s2s.lua Wed Jun 16 23:53:00 2021 +0200 @@ -461,6 +461,11 @@ end session:open_stream(session.to_host, session.from_host) + if session.destroyed then + -- sending the stream opening could have failed during an opportunistic write + return + end + session.notopen = nil; if session.version >= 1.0 then local features = st.stanza("stream:features");