From 9a0c8f33f975e9e3d92d2072b00da389bd2b16f3 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(+) 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