Mercurial > prosody-modules
changeset 2885:88b16084eda7
mod_limits: Add debug logging just before we feed data into stream
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 20 Feb 2018 14:59:03 +0000 |
parents | 16e9f37b3f82 |
children | 5ca6d53d3186 |
files | mod_limits/mod_limits.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_limits/mod_limits.lua Tue Feb 20 12:57:44 2018 +0000 +++ b/mod_limits/mod_limits.lua Tue Feb 20 14:59:03 2018 +0000 @@ -70,6 +70,7 @@ session.log("debug", "Resuming paused session"); session.conn:resume(); end + session.log("debug", "mod_limits feeding %d bytes of delayed data into stream", #outstanding_data); -- Handle what we can of the outstanding data session.data(outstanding_data); end);