Software /
code /
prosody
Changeset
5188:6689605f8591
mod_bosh: Add 'Connection: keep-alive' header
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 22 Nov 2012 19:37:30 +0000 |
parents | 5187:d71f731e8fe4 |
children | 5189:7f6cc8ed2247 5190:76c73bd3d483 |
files | plugins/mod_bosh.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Thu Nov 22 19:35:50 2012 +0000 +++ b/plugins/mod_bosh.lua Thu Nov 22 19:37:30 2012 +0000 @@ -36,7 +36,7 @@ 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