plugins/mod_bosh.lua
changeset 8921 f69b3e39e0c1
parent 8846 041ddc670934
child 9380 f2013233e20d
equal deleted inserted replaced
8920:d4c98115e00c 8921: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?)");