# HG changeset patch # User Matthew Wild # Date 1353613050 0 # Node ID 6689605f85913dd41118493fea55a485f418daff # Parent d71f731e8fe4b043240db7c90a5b1fd45859b5ab mod_bosh: Add 'Connection: keep-alive' header diff -r d71f731e8fe4 -r 6689605f8591 plugins/mod_bosh.lua --- 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