]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] http: make the conditional redirect support keep-alive
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 16:32:57 +0000 (17:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 16:32:57 +0000 (17:32 +0100)
commita9679ac94b88f378c09c244c7cbafa4e4ceeb35a
treeadabf0870272e9d439fe4d34c98ad4ecfbdaadce
parent2be39394165a82b99734c84879739b2749820800
[MINOR] http: make the conditional redirect support keep-alive

It makes sense to permit a client to keep its connection when
performing a redirect to the same host. We only detect the fact
that the redirect location begins with a slash to use the keep-alive
(if the client supports it).
src/proto_http.c