]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: checks: Implement HTTP check using tcp-check rules
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 15 Apr 2020 09:32:03 +0000 (11:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:38 +0000 (09:39 +0200)
commite5870d872b688f2dfd96a656f1fac02c856a36f7
tree6645d93ead6b0189ab36010ea6fe891eda53b4e9
parent95226db8e406f381fd3df1cb6950dd6fec2ac5fc
MAJOR: checks: Implement HTTP check using tcp-check rules

HTTP health-checks are now internally based on tcp-checks. Of course all the
configuration parsing of the "http-check" keyword and the httpchk option has
been rewritten. But the main changes is that now, as for tcp-check ruleset, it
is possible to perform several send/expect sequences into the same
health-checks. Thus the connect rule is now also available from HTTP checks, jst
like set-var, unset-var and comment rules.

Because the request defined by the "option httpchk" line is used for the first
request only, it is now possible to set the method, the uri and the version on a
"http-check send" line.
doc/configuration.txt
include/types/checks.h
include/types/proxy.h
src/cfgparse-listen.c
src/cfgparse.c
src/checks.c
src/haproxy.c
src/session.c