]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: init: add REGISTER_POST_DEINIT_MASTER() hook
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 26 Jun 2025 15:23:06 +0000 (17:23 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 7 Aug 2025 20:27:14 +0000 (22:27 +0200)
commitbcb124f92ab00aaa3759f45b78ed1b4064f8c717
tree52997872d0a7d6630f262db99ae6aeb699d526d2
parentc8282f61386ea6a5523a7da9343834a3d150cb1c
MINOR: init: add REGISTER_POST_DEINIT_MASTER() hook

Similar to REGISTER_POST_DEINIT() hook (which is invoked during deinit)
but for master process only, when haproxy was started in master-worker
mode. The goal is to be able to register cleanup functions that will
only run for the master process right before exiting.
include/haproxy/init.h
src/init.c
src/mworker.c