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
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
ldap-check.vtc
mysql-check.vtc
pgsql-check.vtc
redis-check.vtc
smtp-check.vtc
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
tcp-check-ssl.vtc
tcp-check_min-recv.vtc
tcp-check_multiple_ports.vtc
tcp-checks-socks4.vtc
tls_health_checks.vtc