# HG changeset patch # User Kim Alvefur # Date 1400509723 -7200 # Node ID 48141957f71926493dfe94819247466b37b1959f # Parent cfe360d9d82cf8abdf3d9e5d2fc6f0cb199f244f mod_s2s_auth_dane: Unreference DNS lookup when reply arrives (thanks LordVan) diff -r cfe360d9d82c -r 48141957f719 mod_s2s_auth_dane/mod_s2s_auth_dane.lua --- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Mon May 19 11:56:49 2014 +0200 +++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Mon May 19 16:28:43 2014 +0200 @@ -63,6 +63,7 @@ local name = host_session.from_host and idna_to_ascii(host_session.from_host); if not name then return end host_session.dane = dns_lookup(function (answer) + host_session.dane = false; if not answer.secure then if cb then return cb(a,b,c,e); end return;