Diff

plugins/mod_s2s/mod_s2s.lua @ 8268:e21d82551e05

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Tue, 26 Sep 2017 17:24:25 +0100
parent 8235:7d9a2c200736
parent 8267:42fad8465537
child 8461:0f05d6535dfa
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Thu Sep 21 02:36:28 2017 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Tue Sep 26 17:24:25 2017 +0100
@@ -180,6 +180,7 @@
 
 -- Stream is authorised, and ready for normal stanzas
 function mark_connected(session)
+
 	local sendq = session.sendq;
 
 	local from, to = session.from_host, session.to_host;
@@ -211,6 +212,7 @@
 			session.sendq = nil;
 		end
 
+		session.resolver = nil;
 		session.ip_hosts = nil;
 		session.srv_hosts = nil;
 	end