aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index aa7fe8b6..1f38c13a 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -206,6 +206,9 @@ function mark_connected(session)
session.sendq = nil;
end
+ if session.resolver then
+ session.resolver._resolver:closeall()
+ end
session.resolver = nil;
session.ip_hosts = nil;
session.srv_hosts = nil;