diff mod_s2s_auth_dane/mod_s2s_auth_dane.lua @ 1383:465e5d79551b

mod_s2s_auth_dane: Improve debug message and log it on the session
author Kim Alvefur <zash@zash.se>
date Thu, 10 Apr 2014 22:40:11 +0200
parents e3fe6c749bc3
children 6bd9681d54b7
line wrap: on
line diff
--- a/mod_s2s_auth_dane/mod_s2s_auth_dane.lua	Tue Apr 08 17:28:08 2014 +0200
+++ b/mod_s2s_auth_dane/mod_s2s_auth_dane.lua	Thu Apr 10 22:40:11 2014 +0200
@@ -114,7 +114,7 @@
 		host_session.log("debug", "Pausing connection until DANE lookup is completed");
 		host_session.conn:pause()
 		local function resume()
-			module:log("debug", "Resuming connection");
+			host_session.log("debug", "DANE lookup completed, resuming connection");
 			host_session.conn:resume()
 		end
 		if not dane_lookup(host_session, resume) then