aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-18 00:10:52 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-18 00:10:52 +0100
commite848839db37318dd19ebd15c7c09e857df564ed0 (patch)
tree0604a6d66c0c755bf29a09127cce1c4ce854f6ac /net/http
parent08eceec2bf30cec73020e3926f7dd2fca5aba3ab (diff)
parent6dced9f4823fd0353f3129df56b835cba6e82da6 (diff)
downloadprosody-e848839db37318dd19ebd15c7c09e857df564ed0.tar.gz
prosody-e848839db37318dd19ebd15c7c09e857df564ed0.zip
Merge 0.9->trunk
Diffstat (limited to 'net/http')
-rw-r--r--net/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 830579c9..a983b8d5 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -159,7 +159,7 @@ function handle_request(conn, request, finish_cb)
local conn_header = request.headers.connection;
conn_header = conn_header and ","..conn_header:gsub("[ \t]", ""):lower().."," or ""
local httpversion = request.httpversion
- local persistent = conn_header:find(",keep-alive,", 1, true)
+ local persistent = conn_header:find(",Keep-Alive,", 1, true)
or (httpversion == "1.1" and not conn_header:find(",close,", 1, true));
local response_conn_header;