haproxy/reg-tests/checks
Christopher Faulet 27ee292731 MINOR: tcpcheck: Add support for an option host header value for httpchk option
Support for headers and body hidden in the version for the "option httpchk"
directive was removed. However a Host header is mandatory for HTTP/1.1
requests and some servers may return an error if it is not set. For now, to
add it, an "http-check send" rule must be added. But it is not really handy
to use an extra config line for this purpose.

So now, it is possible to set the host header value, a log-format string, as
extra argument to "option httpchk" directive. It must be the fourth argument:

  option httpchk GET / HTTP/1.1 www.srv.com

While this patch is not a bug fix, it is simple enough to be backported if
necessary. On 2.9 and older, lf_init_expr() does not exist and LIST_INIT() must
be used instead.
2024-10-02 10:22:51 +02:00
..
1be_40srv_odd_health_checks.vtc
4be_1srv_health_checks.vtc
4be_1srv_smtpchk_httpchk_layer47errors.vtc
40be_2srv_odd_health_checks.vtc
agent-check.vtc
common.pem
http-check-expect.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
http-check-send.vtc
http-check.vtc MINOR: tcpcheck: Add support for an option host header value for httpchk option 2024-10-02 10:22:51 +02:00
http-monitor-uri.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
ldap-check.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
mysql-check.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
pgsql-check.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
redis-check.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
smtp-check.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
spop-check.vtc REGTESTS: check/spoe: Re-enable the script performing SPOP health-checks 2024-07-24 14:19:10 +02:00
ssl-hello-check.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
tcp-check-ssl.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
tcp-check_min-recv.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
tcp-check_multiple_ports.vtc
tcp-checks-socks4.vtc
tls_health_checks.vtc