From a346709487fd665dbcca39a92f7d0bd3b519a9bc Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 15 May 2018 01:22:35 +0200 Subject: mod_bosh: Add extra debug logging to help with #1134 --- plugins/mod_bosh.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins') diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 60d3e4b4..1908e5ed 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -192,6 +192,12 @@ function handle_POST(event) return true; -- Inform http server we shall reply later end elseif response.finished or context.ignore_request then + if response.finished then + module:log("debug", "Response finished"); + end + if context.ignore_request then + module:log("debug", "Ignoring this request"); + end -- A response has been sent already, or we're ignoring this request -- (e.g. so a different instance of the module can handle it) return; -- cgit v1.2.3