]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] http: rework response Connection header handling
authorWilly Tarreau <w@1wt.eu>
Mon, 18 Jan 2010 18:08:45 +0000 (19:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 22 Jan 2010 10:49:41 +0000 (11:49 +0100)
commit6046652253fb1a0bfc21d61e579463eeb821bc5f
tree8ac796fc8cf12e024228f4a8a86e4845486f798a
parentbbf0b37f6cfcaf2cde6dd74231d25b69d6824c72
[MAJOR] http: rework response Connection header handling

This one is the next step of previous patch. It correctly computes
the response mode and the Connection flag transformations depending
on the request mode and version, and the response version and headers.

We're now also able to add "Connection: keep-alive", and to convert
server's close during a keep-alive connection to a server-close
connection.
doc/internals/connection-header.txt
src/proto_http.c