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 REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
4be_1srv_health_checks.vtc CLEANUP: assorted typo fixes in the code and comments 2022-11-30 14:02:36 +01:00
4be_1srv_smtpchk_httpchk_layer47errors.vtc BUG/MINOR: smtpchk: SMTP Service check should gracefully close SMTP transaction 2022-09-21 16:01:42 +02:00
40be_2srv_odd_health_checks.vtc REGTESTS: fix the race conditions in 40be_2srv_odd_health_checks 2022-02-21 20:44:26 +01:00
agent-check.vtc REGTESTS: Remove REQUIRE_VERSION=1.8 from all tests 2022-01-29 15:24:45 +01:00
common.pem REGTEST: Add a reg test for health-checks over SSL/TLS. 2019-01-08 10:10:18 +01:00
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 MINOR: http-check: Remove support for headers/body in "option httpchk" version 2022-09-06 18:23:14 +02:00
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_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 REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
tcp-check-ssl.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
tcp-checks-socks4.vtc REGTESTS: Remove REQUIRE_VERSION=2.0 from all tests 2023-01-05 09:11:38 +01:00
tls_health_checks.vtc MINOR: http-check: Remove support for headers/body in "option httpchk" version 2022-09-06 18:23:14 +02:00