aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit94cef42f727ed438ac4ca938a5b6d5a04577aba5 (patch)
tree2149b61c20f5c2aa9032996d59fe1c6eac47cf8a /plugins
parent47c740cdd748e573a63d828410bf02376130b460 (diff)
downloadprosody-94cef42f727ed438ac4ca938a5b6d5a04577aba5.tar.gz
prosody-94cef42f727ed438ac4ca938a5b6d5a04577aba5.zip
mod_bosh: Remove another place we set headers, fixes #348
Diffstat (limited to 'plugins')
-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;