]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: Support per-proxy and per-server post-check functions callbacks
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Aug 2019 07:51:07 +0000 (09:51 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 17 Sep 2019 08:18:54 +0000 (10:18 +0200)
commitc16929658f3b36394d76072764ee018034db592a
tree37fc730d97631df9c006256e9522d9366b95b121
parent3ea5cbe6a414e798b091715ae15f433c5f7f4856
MINOR: config: Support per-proxy and per-server post-check functions callbacks

Most of times, when a keyword is added in proxy section or on the server line,
we need to have a post-parser callback to check the config validity for the
proxy or the server which uses this keyword.

It is possible to register a global post-parser callback. But all these
callbacks need to loop on the proxies and servers to do their job. It is neither
handy nor efficient. Instead, it is now possible to register per-proxy and
per-server post-check callbacks.
include/types/global.h
src/haproxy.c