]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: haproxy: add a registration for post-check functions
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 18:57:00 +0000 (19:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 20:30:54 +0000 (21:30 +0100)
commite694573fa03480da5312313b9ce8a402ee5762e8
tree22ead621775875abba83b21bc83a7db60f61d776
parente8692b41e5fb5a658fad3f0c81d6e2babb91eeb7
MINOR: haproxy: add a registration for post-check functions

There's a significant amount of late initialization calls which are
performed after the point where we exit in check mode. These calls
are used to allocate resource and perform certain slow operations.
Let's have a way to register some functions which need to be called
there instead of having this multitude of #ifdef in the init path.
include/types/global.h
src/haproxy.c