diff options
author | Kim Alvefur <zash@zash.se> | 2022-06-27 01:22:36 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-06-27 01:22:36 +0200 |
commit | 814817ebf21306625268dbacba88eb4f539b1626 (patch) | |
tree | a11e3c596999bccf595ab4eaecc5f632d596f84f /spec/scansion/lastactivity.scs | |
parent | 1261dfba9f026ea1854ee16c078d81c0797f1e4a (diff) | |
download | prosody-814817ebf21306625268dbacba88eb4f539b1626.tar.gz prosody-814817ebf21306625268dbacba88eb4f539b1626.zip |
core.s2smanager: Don't remove unrelated session on close of bidi session
Normally with bidi, any outgoing connection should be the same as the
incoming, hence when closing a bidi connection it should be removed as a
route to the remote server. However it is not guaranteed, a remote bidi-capable server
might have decided to open a new connection for some reason. This can
lead to a situation where there are two bidi connections, and the s2sout
route is a locally initiated s2sout connection. In this case, such a
s2sout connection should be kept.
Noticed in a rare case where bidi has just been enabled on a running
server, and something establishes new connections immediately when a
connection is closed.
Diffstat (limited to 'spec/scansion/lastactivity.scs')
0 files changed, 0 insertions, 0 deletions