]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: script: Add the option --use-htx to enable the HTX in regtests
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 19 Dec 2018 10:22:04 +0000 (11:22 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 20 Dec 2018 09:37:32 +0000 (10:37 +0100)
commitfa6798f97c5be41562d9151d3901753e5153fb56
treecc194ecdf375a630432f92d60ef32452b39de772
parent9c6df5ecb4acbf39e7413f97144ae767a7c2b414
REGTEST: script: Add the option --use-htx to enable the HTX in regtests

A check is done on HAProxy version to be sure it is supported. Internally, by
default, the macro 'no-htx' is set to "#". So in regtests, we can prefix
http-use-htx option line with this macro to inhibit the HTX. Concretly, this
line can be added in the HAProxy configuration:

   ${no-htx} option http-use-htx

When the option --use-htx is used, the macro 'no-htx' is unset.
scripts/run-regtests.sh