projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7206780
)
mod_bosh: Remove Connection: keep-alive header (conflicts with new net.http.server)
author
Matthew Wild
<mwild1@gmail.com>
Fri, 7 Jun 2013 16:47:49 +0000
(17:47 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 7 Jun 2013 16:47:49 +0000
(17:47 +0100)
plugins/mod_bosh.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_bosh.lua
b/plugins/mod_bosh.lua
index f2b7f458e0dc87549e0b266a7b3e8b03471e50b3..b88cd9691ad71bb74733505a4d7e20e8dc87adfe 100644
(file)
--- a/
plugins/mod_bosh.lua
+++ b/
plugins/mod_bosh.lua
@@
-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