Diff

plugins/mod_s2s/mod_s2s.lua @ 8920:2eaa442d81a6

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Fri, 22 Jun 2018 14:18:36 +0200
parent 8763:67ecff7be011
parent 8919:c46c2942b8fe
child 9064:93ac83372ac2
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Tue May 15 01:22:35 2018 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Fri Jun 22 14:18:36 2018 +0200
@@ -225,6 +225,9 @@
 			session.sendq = nil;
 		end
 
+		if session.resolver then
+			session.resolver._resolver:closeall()
+		end
 		session.resolver = nil;
 		session.ip_hosts = nil;
 		session.srv_hosts = nil;