From e11bb4edb439c9d16f657058b9f01258d1596153 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') 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