aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_bosh.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-06-07 17:47:49 +0100
committerMatthew Wild <mwild1@gmail.com>2013-06-07 17:47:49 +0100
commite4a0174799ec8a5b6e55331c30233ba74de502db (patch)
treed40e76b9d645b760e632b498675b06f3073e3951 /plugins/mod_bosh.lua
parent6067287d2a8f4dbcc6eeec2f066364a35b51c290 (diff)
downloadprosody-e4a0174799ec8a5b6e55331c30233ba74de502db.tar.gz
prosody-e4a0174799ec8a5b6e55331c30233ba74de502db.zip
mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server)
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index f2b7f458..b88cd969 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -36,7 +36,7 @@ local bosh_max_wait = module:get_option_number("bosh_max_wait", 120);
local consider_bosh_secure = module:get_option_boolean("consider_bosh_secure");
-local default_headers = { ["Content-Type"] = "text/xml; charset=utf-8", ["Connection"] = "keep-alive" };
+local default_headers = { ["Content-Type"] = "text/xml; charset=utf-8" };
local cross_domain = module:get_option("cross_domain_bosh", false);
if cross_domain then