From cd970ddf0d7275c1a42f7a68effa6acc699f93e5 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 19 Jun 2009 17:27:03 +0100 Subject: s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown --- core/s2smanager.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core') 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 -- cgit v1.2.3