aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-11-22 19:37:30 +0000
committerMatthew Wild <mwild1@gmail.com>2012-11-22 19:37:30 +0000
commit295705fa8f9ab2a8244e20306d98124cc5d063da (patch)
tree641dcade71f1c55c0361ae58b291c36352673a34 /plugins
parent286a40227ef27ed88e034defe5e4dffa791f7c2c (diff)
downloadprosody-295705fa8f9ab2a8244e20306d98124cc5d063da.tar.gz
prosody-295705fa8f9ab2a8244e20306d98124cc5d063da.zip
mod_bosh: Add 'Connection: keep-alive' header
Diffstat (limited to 'plugins')
-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 b54fc9d4..19f191c8 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" };
+local default_headers = { ["Content-Type"] = "text/xml; charset=utf-8", ["Connection"] = "keep-alive" };
local cross_domain = module:get_option("cross_domain_bosh", false);
if cross_domain then