diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-06-19 17:27:03 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-06-19 17:27:03 +0100 |
commit | cd970ddf0d7275c1a42f7a68effa6acc699f93e5 (patch) | |
tree | 2d79d1965965dd3d13962f4f0154c9fdd215a715 /core | |
parent | 7d12a19107c45a4bec5427b0259beebbad7d3bd3 (diff) | |
download | prosody-cd970ddf0d7275c1a42f7a68effa6acc699f93e5.tar.gz prosody-cd970ddf0d7275c1a42f7a68effa6acc699f93e5.zip |
s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index b8faf712..879084d8 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -379,6 +379,8 @@ function mark_connected(session) end session.sendq = nil; end + + session.srv_hosts = nil; end end |