aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-06-06 14:48:41 +0100
committerMatthew Wild <mwild1@gmail.com>2013-06-06 14:48:41 +0100
commit2d2b6df7cb2a17d00bc2074186a8c06c2702fd2a (patch)
tree2149b61c20f5c2aa9032996d59fe1c6eac47cf8a
parent70b2041049db1b148951d77993bba41646dc2f33 (diff)
downloadprosody-2d2b6df7cb2a17d00bc2074186a8c06c2702fd2a.tar.gz
prosody-2d2b6df7cb2a17d00bc2074186a8c06c2702fd2a.zip
mod_bosh: Remove another place we set headers, fixes #348
-rw-r--r--plugins/mod_bosh.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index ec8c59f5..d0202b7d 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -281,7 +281,6 @@ function stream_callbacks.streamopened(context, attr)
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;