Comparison

plugins/mod_bosh.lua @ 8918:f69b3e39e0c1

mod_bosh: Add extra debug logging to help with #1134
author Kim Alvefur <zash@zash.se>
date Tue, 15 May 2018 01:22:35 +0200
parent 8843:041ddc670934
child 9377:f2013233e20d
comparison
equal deleted inserted replaced
8917:d4c98115e00c 8918:f69b3e39e0c1
190 end 190 end
191 191
192 return true; -- Inform http server we shall reply later 192 return true; -- Inform http server we shall reply later
193 end 193 end
194 elseif response.finished or context.ignore_request then 194 elseif response.finished or context.ignore_request then
195 if response.finished then
196 module:log("debug", "Response finished");
197 end
198 if context.ignore_request then
199 module:log("debug", "Ignoring this request");
200 end
195 -- A response has been sent already, or we're ignoring this request 201 -- A response has been sent already, or we're ignoring this request
196 -- (e.g. so a different instance of the module can handle it) 202 -- (e.g. so a different instance of the module can handle it)
197 return; 203 return;
198 end 204 end
199 module:log("warn", "Unable to associate request with a session (incomplete request?)"); 205 module:log("warn", "Unable to associate request with a session (incomplete request?)");