aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-06-22 14:18:36 +0200
committerKim Alvefur <zash@zash.se>2018-06-22 14:18:36 +0200
commitba4bd1e687fff494493a543e6c472ea272f4ec62 (patch)
tree55445e82c4dcde919a836d2d40e78cc026d61b4a
parenta346709487fd665dbcca39a92f7d0bd3b519a9bc (diff)
parent899924566ef8a30745387efac5003536d3ffd088 (diff)
downloadprosody-ba4bd1e687fff494493a543e6c472ea272f4ec62.tar.gz
prosody-ba4bd1e687fff494493a543e6c472ea272f4ec62.zip
Merge 0.10->trunk
-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 f1f88127..e5fb8042 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -225,6 +225,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;