diff options
author | Kim Alvefur <zash@zash.se> | 2018-06-17 20:02:40 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-06-17 20:02:40 +0200 |
commit | e11bb4edb439c9d16f657058b9f01258d1596153 (patch) | |
tree | 3855756a7e60338f6c9b75f17316f7a4226ea9b0 /plugins/mod_s2s | |
parent | 887edc9457351637e2777c5a27f6d481819ddbcc (diff) | |
download | prosody-e11bb4edb439c9d16f657058b9f01258d1596153.tar.gz prosody-e11bb4edb439c9d16f657058b9f01258d1596153.zip |
mod_s2s: Close sockets held by resolver (#1170)
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 3 |
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; |