mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server)
authorMatthew Wild <mwild1@gmail.com>
Fri, 7 Jun 2013 16:47:49 +0000 (17:47 +0100)
committerMatthew Wild <mwild1@gmail.com>
Fri, 7 Jun 2013 16:47:49 +0000 (17:47 +0100)
plugins/mod_bosh.lua

index f2b7f458e0dc87549e0b266a7b3e8b03471e50b3..b88cd9691ad71bb74733505a4d7e20e8dc87adfe 100644 (file)
@@ -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", ["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