]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: checks: Implement agent check using tcp-check rules
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 6 Apr 2020 15:54:24 +0000 (17:54 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:38 +0000 (09:39 +0200)
commit0ae3d1dbdfedd83b62b8899d7eeb94a90ef26eaa
tree4ffe35d1b0a93773c3138c2598f184e7abea42dd
parentce8111ec6078453f6743b0807718f86cab5f7442
MEDIUM: checks: Implement agent check using tcp-check rules

A shared tcp-check ruleset is now created to support agent checks. The following
sequence is used :

    tcp-check send "%[var(check.agent_string)] log-format
    tcp-check expect custom

The custom function to evaluate the expect rule does the same that it was done
to handle agent response when a custom check was used.
include/proto/checks.h
include/types/checks.h
include/types/proxy.h
src/checks.c
src/server.c