Software /
code /
prosody
File
.editorconfig @ 12586:4c8941b5b05e 0.12
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 27 Jun 2022 01:22:36 +0200 |
parent | 11706:56feb0cf7052 |
child | 13191:1266efb7101c |
line wrap: on
line source
root = true [*] end_of_line = lf indent_style = tab insert_final_newline = true trim_trailing_whitespace = true [CHANGES] indent_size = 4 indent_style = space [configure] indent_size = 3 indent_style = space [**.xml] indent_size = 2 indent_style = space