mod_s2s_auth_dane: Demote log message about failure to ASCII-ify hostname from error to warning
--- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Sun Apr 12 18:19:41 2015 +0200
+++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua Mon Apr 13 13:35:37 2015 +0200
@@ -74,9 +74,9 @@
-- and incoming connections, so this should work well
local name = host_session.from_host and idna_to_ascii(host_session.from_host);
if not name then
- module:log("error", "Could not convert '%s' to ASCII for DNS lookup", tostring(host_session.from_host));
- return;
- end
+ module:log("warn", "Could not convert '%s' to ASCII for DNS lookup", tostring(host_session.from_host));
+ return;
+ end
host_session.dane = dns_lookup(function (answer, err)
host_session.dane = false; -- Mark that we already did the lookup