diff options
author | Kim Alvefur <zash@zash.se> | 2018-05-15 01:22:35 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-05-15 01:22:35 +0200 |
commit | 9a0c8f33f975e9e3d92d2072b00da389bd2b16f3 (patch) | |
tree | cf1b3d6eb82eaee0f3dcaf2aa8b381788f1b7e30 /plugins/mod_bosh.lua | |
parent | f219f3752e968b6c5bfda21f968ca3f8a3b81a32 (diff) | |
download | prosody-9a0c8f33f975e9e3d92d2072b00da389bd2b16f3.tar.gz prosody-9a0c8f33f975e9e3d92d2072b00da389bd2b16f3.zip |
mod_bosh: Add extra debug logging to help with #1134
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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; |