# HG changeset patch # User Kim Alvefur # Date 1461060847 -7200 # Node ID 6ae3cf899b25bcb7b3042534fed9f455d51469db # Parent 3e8851b7c6e82938d280b2b383cc70709f0a765b mod_bosh: Return if a response has been sent already (See #343) diff -r 3e8851b7c6e8 -r 6ae3cf899b25 plugins/mod_bosh.lua --- a/plugins/mod_bosh.lua Tue Apr 19 12:13:03 2016 +0200 +++ b/plugins/mod_bosh.lua Tue Apr 19 12:14:07 2016 +0200 @@ -179,6 +179,8 @@ else return true; -- Inform http server we shall reply later end + elseif response.finished then + return; -- A response has been sent already end module:log("warn", "Unable to associate request with a session (incomplete request?)"); return 400;