Software /
code /
prosody
Changeset
10301:3123a13cf577
core.s2smanager: Remove bidi-enabled s2sin from outgoing routing table
Caused creation of new s2sout instead of proper bidi-enabled s2sin.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 05 Oct 2019 16:21:41 +0200 |
parents | 10300:78f2a3a9c537 |
children | 10302:4c53e58d2468 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Sat Oct 05 15:22:59 2019 +0200 +++ b/core/s2smanager.lua Sat Oct 05 16:21:41 2019 +0200 @@ -93,6 +93,9 @@ hosts[session.from_host].s2sout[session.to_host] = nil; session:bounce_sendq(reason); elseif session.direction == "incoming" then + if session.outgoing then + hosts[session.from_host].s2sout[session.to_host] = nil; + end incoming_s2s[session] = nil; end