Changeset

2091:ea95637cf041

mod_smacks: Log when sending <r> from read timeout event (0.10+)
author Kim Alvefur <zash@zash.se>
date Wed, 16 Mar 2016 13:30:03 +0100
parents 2090:1796a022dd29
children 2098:1124758cac7f
files mod_smacks/mod_smacks.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua	Wed Mar 16 13:29:28 2016 +0100
+++ b/mod_smacks/mod_smacks.lua	Wed Mar 16 13:30:03 2016 +0100
@@ -404,6 +404,7 @@
 			end
 			return false; -- Kick the session
 		end
+		session.log("debug", "Sending <r> (read timeout)");
 		(session.sends2s or session.send)(st.stanza("r", { xmlns = session.smacks }));
 		session.awaiting_ack = true;
 		return true;