]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: http: switch to keep-alive mode by default
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Jan 2014 02:07:23 +0000 (03:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Jan 2014 02:14:29 +0000 (03:14 +0100)
commit70dffdaa10419c8cab039003f8b4a883e3f5648b
tree129db11d10c3002a8855287b377c872d95043c5b
parentf8b0e03f498d6f9e377a9ca22ec032c8061e5530
MAJOR: http: switch to keep-alive mode by default

Since we support HTTP keep-alive, there is no more reason for staying
in tunnel mode by default. It is confusing for new users and creates
more issues than it solves. Option "http-tunnel" is available to force
to use it if really desired.

Switching to KA by default has implied to change the value of some
option flags and some transaction flags so that value zero (default)
matches keep-alive. That explains why more code has been changed than
expected. Tests have been run on the 25 combinations of frontend and
backend options, plus a few with option http-pretend-keepalive, and
no anomaly was found.

The relation between frontend and backends remains the same. Options
have been updated to take precedence over http-keep-alive which is now
implicit.

All references in the doc to haproxy not supporting keep-alive have
been fixed, and the doc for config options has been updated.
doc/configuration.txt
include/types/proto_http.h
include/types/proxy.h
src/proto_http.c