plugins/mod_bosh.lua
changeset 8921 f69b3e39e0c1
parent 8846 041ddc670934
child 9380 f2013233e20d
--- a/plugins/mod_bosh.lua	Wed Jun 20 10:42:57 2018 +0100
+++ b/plugins/mod_bosh.lua	Tue May 15 01:22:35 2018 +0200
@@ -192,6 +192,12 @@
 			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;