aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commite9adc7247f7aa880b0793a153c998dec9ee99f37 (patch)
tree55445e82c4dcde919a836d2d40e78cc026d61b4a /plugins
parent9a0c8f33f975e9e3d92d2072b00da389bd2b16f3 (diff)
parentbe56bd2bd5fb2c2a21901d7cccdde0203c3f52bc (diff)
downloadprosody-e9adc7247f7aa880b0793a153c998dec9ee99f37.tar.gz
prosody-e9adc7247f7aa880b0793a153c998dec9ee99f37.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-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;