diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-11-22 19:37:30 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-11-22 19:37:30 +0000 |
commit | 731c5f5cb79282a11e8a07a00c0a976803d6b45a (patch) | |
tree | 641dcade71f1c55c0361ae58b291c36352673a34 /plugins/mod_bosh.lua | |
parent | c1716e51886cdbd9b3da1ad88b7fc4c1e16c8957 (diff) | |
download | prosody-731c5f5cb79282a11e8a07a00c0a976803d6b45a.tar.gz prosody-731c5f5cb79282a11e8a07a00c0a976803d6b45a.zip |
mod_bosh: Add 'Connection: keep-alive' header
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 2 |
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 |