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 | 295705fa8f9ab2a8244e20306d98124cc5d063da (patch) | |
tree | 641dcade71f1c55c0361ae58b291c36352673a34 /plugins/mod_bosh.lua | |
parent | 286a40227ef27ed88e034defe5e4dffa791f7c2c (diff) | |
download | prosody-295705fa8f9ab2a8244e20306d98124cc5d063da.tar.gz prosody-295705fa8f9ab2a8244e20306d98124cc5d063da.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 |