aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-22 03:36:03 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-22 03:36:03 +0000
commit6f7eb9676e02ea8f58dbf828a70730a01d59d511 (patch)
tree818286e6fa0ba6497830da480840f09ddc2fc420
parentbf86bf52423763d1f3407015d72959153d5fe71d (diff)
downloadprosody-6f7eb9676e02ea8f58dbf828a70730a01d59d511.tar.gz
prosody-6f7eb9676e02ea8f58dbf828a70730a01d59d511.zip
mod_bosh: I == fail.
-rw-r--r--plugins/mod_bosh.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index e366b019..f25e7670 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -31,9 +31,8 @@ local BOSH_DEFAULT_POLLING = tonumber(module:get_option("bosh_max_polling")) or
local BOSH_DEFAULT_REQUESTS = tonumber(module:get_option("bosh_max_requests")) or 2;
local BOSH_DEFAULT_MAXPAUSE = tonumber(module:get_option("bosh_max_pause")) or 300;
-local session_close_reply = { headers = default_headers, body = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate" }), attr = {} };
-
local default_headers = { ["Content-Type"] = "text/xml; charset=utf-8" };
+local session_close_reply = { headers = default_headers, body = st.stanza("body", { xmlns = xmlns_bosh, type = "terminate" }), attr = {} };
local cross_domain = module:get_option("cross_domain_bosh");
if cross_domain then