diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-06-06 14:48:41 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-06-06 14:48:41 +0100 |
commit | 94cef42f727ed438ac4ca938a5b6d5a04577aba5 (patch) | |
tree | 2149b61c20f5c2aa9032996d59fe1c6eac47cf8a /plugins/mod_bosh.lua | |
parent | 47c740cdd748e573a63d828410bf02376130b460 (diff) | |
download | prosody-94cef42f727ed438ac4ca938a5b6d5a04577aba5.tar.gz prosody-94cef42f727ed438ac4ca938a5b6d5a04577aba5.zip |
mod_bosh: Remove another place we set headers, fixes #348
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 1 |
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; |