]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] http: restore the original behaviour of option httpclose
authorWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2010 10:33:11 +0000 (11:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Jan 2010 10:33:11 +0000 (11:33 +0100)
commit0dfdf19b6438c2cea47b1dea0442d65bacfc77cf
treeccc590e1ebf76be6ed08d0fb0be13f48ef1028e3
parent2832d63874a3da8b5de8792bdd9be62125218bc9
[MEDIUM] http: restore the original behaviour of option httpclose

Historically, "option httpclose" has always worked the same way. It
only mangles the "Connection" header in the request and the response
if needed, but does not affect the connection by itself, and ignores
any further data. It is dangerous to change this behaviour without
leaving any other alternative. If an active close is desired, it's
better to make use of "option forceclose" which does exactly what
it intends to do.

So as of now, "option httpclose" will only mangle the headers as
before, and will only affect the connection by itself when combined
with another connection-related option (eg: keepalive or server-close).
doc/configuration.txt
src/proto_http.c