Software /
code /
prosody-modules
Diff
mod_smacks/mod_smacks.lua @ 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 |
parent | 2090:1796a022dd29 |
child | 2122:3f788f18cc10 |
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;