]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http_fetch/htx: Use HTX versions if the proxy enables the HTX mode
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 09:40:30 +0000 (11:40 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Apr 2019 13:12:27 +0000 (15:12 +0200)
commit46575cd392efcb76faf5f7e9a74388f529b11df2
treefa4506cce3d9719a137c8340e2d862054d6d56ec
parent5ec8bcb0218456f19d253f87ce5b4a483aa1e949
BUG/MINOR: http_fetch/htx: Use HTX versions if the proxy enables the HTX mode

Because the HTX is now the default mode for all proxies (HTTP and TCP), it is
better to match on the proxy options to know if the HTX is enabled or not. This
way, if a TCP proxy explicitly disables the HTX mode, the legacy version of HTTP
fetches will be used.

No backport needed except if the patch activating the HTX by default for all
proxies is backported.
src/http_fetch.c