aboutsummaryrefslogtreecommitdiffstats
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
commit731c5f5cb79282a11e8a07a00c0a976803d6b45a (patch)
tree641dcade71f1c55c0361ae58b291c36352673a34
parentc1716e51886cdbd9b3da1ad88b7fc4c1e16c8957 (diff)
downloadprosody-731c5f5cb79282a11e8a07a00c0a976803d6b45a.tar.gz
prosody-731c5f5cb79282a11e8a07a00c0a976803d6b45a.zip
mod_bosh: Add 'Connection: keep-alive' header
-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