]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: checks: Add a list of vars to set before executing a tpc-check ruleset
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 2 Apr 2020 16:05:11 +0000 (18:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
commit7a1e2e1823a2c9890bb40dddd49a2bf93cf9ca79
tree0377724fde3122adfd53e5ceaec61d485703f36e
parentbb591a1a1150f94510f6c7d2d12683fbcba1b9d8
MEDIUM: checks: Add a list of vars to set before executing a tpc-check ruleset

A list of variables is now associated to each tcp-check ruleset. It is more a
less a list of set-var expressions. This list may be filled during the
configuration parsing. The listed variables will then be set during each
execution of the tcp-check healthcheck, at the begining, before execution of the
the first tcp-check rule.

This patch is mandatory to convert all protocol checks to tcp-checks. It is a
way to customize shared tcp-check rulesets.
include/proto/checks.h
include/types/checks.h
src/cfgparse-listen.c
src/checks.c
src/proxy.c