Changeset

5649:c321f1fed851

mod_bosh: Remove another place we set headers, fixes #348
author Matthew Wild <mwild1@gmail.com>
date Thu, 06 Jun 2013 14:48:41 +0100
parents 5648:f7f667c48d9a
children 5651:c968c8e3596d
files plugins/mod_bosh.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_bosh.lua	Wed Jun 05 21:41:27 2013 +0100
+++ b/plugins/mod_bosh.lua	Thu Jun 06 14:48:41 2013 +0100
@@ -281,7 +281,6 @@
 			local oldest_request = r[1];
 			if oldest_request and not session.bosh_processing then
 				log("debug", "We have an open request, so sending on that");
-				oldest_request.headers = default_headers;
 				local body_attr = { xmlns = "http://jabber.org/protocol/httpbind",
 					["xmlns:stream"] = "http://etherx.jabber.org/streams";
 					type = session.bosh_terminate and "terminate" or nil;