mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server)
authorMatthew Wild <mwild1@gmail.com>
Fri, 07 Jun 2013 17:47:49 +0100
changeset 5671 d5059e73db53
parent 5670 9218a0e81a41
child 5672 0c68cea74d5d
mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server)
plugins/mod_bosh.lua
--- 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