s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown
authorMatthew Wild <mwild1@gmail.com>
Fri, 19 Jun 2009 17:27:03 +0100
changeset 1345 35b5686d73ea
parent 1344 ca74a6a38dfb
child 1347 4eccafa3609f
s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown
core/s2smanager.lua
--- a/core/s2smanager.lua	Fri Jun 19 17:23:17 2009 +0100
+++ b/core/s2smanager.lua	Fri Jun 19 17:27:03 2009 +0100
@@ -379,6 +379,8 @@
 			end
 			session.sendq = nil;
 		end
+		
+		session.srv_hosts = nil;
 	end
 end