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 | be56bd2bd5fb2c2a21901d7cccdde0203c3f52bc (patch) | |
tree | 3855756a7e60338f6c9b75f17316f7a4226ea9b0 /plugins | |
parent | 5788d3bc5349809fa94420b7cd3a04e5f7df37b2 (diff) | |
download | prosody-be56bd2bd5fb2c2a21901d7cccdde0203c3f52bc.tar.gz prosody-be56bd2bd5fb2c2a21901d7cccdde0203c3f52bc.zip |
mod_s2s: Close sockets held by resolver (#1170)
Diffstat (limited to 'plugins')
-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; |