Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 5671:d5059e73db53
mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 07 Jun 2013 17:47:49 +0100 |
parent | 5670:9218a0e81a41 |
child | 5674:ebdbf4cf0b2f |
child | 5726:3bccc68a38e3 |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Fri Jun 07 17:47:27 2013 +0100 +++ b/plugins/mod_bosh.lua Fri Jun 07 17:47:49 2013 +0100 @@ -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", ["Connection"] = "keep-alive" }; +local default_headers = { ["Content-Type"] = "text/xml; charset=utf-8" }; local cross_domain = module:get_option("cross_domain_bosh", false); if cross_domain then