mod_s2s_auth_dane: Improve debug message and log it on the session
authorKim Alvefur <zash@zash.se>
Thu, 10 Apr 2014 22:40:11 +0200
changeset 1383 465e5d79551b
parent 1382 ba17268490b7
child 1384 f67eacb1ac9f
mod_s2s_auth_dane: Improve debug message and log it on the session
mod_s2s_auth_dane/mod_s2s_auth_dane.lua
--- 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