From be56bd2bd5fb2c2a21901d7cccdde0203c3f52bc Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 17 Jun 2018 20:02:40 +0200 Subject: mod_s2s: Close sockets held by resolver (#1170) --- plugins/mod_s2s/mod_s2s.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/mod_s2s/mod_s2s.lua') 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; -- cgit v1.2.3