]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: http-check: Remove support for headers/body in "option httpchk" version
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Sep 2022 07:05:17 +0000 (09:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 6 Sep 2022 16:23:14 +0000 (18:23 +0200)
commit4b5f3029bcd36af5f4da8a3d85cc944d37a87769
tree944455506fea00eee9492a9ad81adc3a21af8ccb
parent6aec1f380e095cc36b279c4c9e1a955d01d41f6c
MINOR: http-check: Remove support for headers/body in "option httpchk" version

This trick is deprecated since the health-check refactoring, It is now
invalid. It means the following line will trigger an error during the
configuration parsing:

  option httpchk OPTIONS * HTTP/1.1\r\nHost:\ www

It must be replaced by:

  option httpchk OPTIONS * HTTP/1.1
  http-check send hdr Host www
doc/configuration.txt
reg-tests/checks/4be_1srv_smtpchk_httpchk_layer47errors.vtc
reg-tests/checks/http-check-send.vtc
reg-tests/checks/tls_health_checks.vtc
src/tcpcheck.c