mod_limits: Add debug logging just before we feed data into stream
authorMatthew Wild <mwild1@gmail.com>
Tue, 20 Feb 2018 14:59:03 +0000
changeset 2889 88b16084eda7
parent 2888 16e9f37b3f82
child 2890 5ca6d53d3186
mod_limits: Add debug logging just before we feed data into stream
mod_limits/mod_limits.lua
--- 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);