# HG changeset patch # User Kim Alvefur # Date 1526340155 -7200 # Node ID f69b3e39e0c12eb0ad119fb40a2082c11ed1a9e5 # Parent d4c98115e00c09abba25850ece547b8567f84f3e mod_bosh: Add extra debug logging to help with #1134 diff -r d4c98115e00c -r f69b3e39e0c1 plugins/mod_bosh.lua --- 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;