]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: startup: move on_new_child_failure in mworker.c
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Fri, 22 Nov 2024 21:39:20 +0000 (22:39 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 25 Nov 2024 14:20:24 +0000 (15:20 +0100)
commitaf642420b4e13ac2e8dd8ff0efd55386280df704
tree2f51edbe803e080fbd54d447a232f163c4699de3
parent321c021a83fcff6cd829d4fa1f462bf3464559ba
REORG: startup: move on_new_child_failure in mworker.c

mworker_on_new_child_failure() performs some routines for the worker process,
if it has failed the reload. As it's called only in mworker_catch_sigchld()
from mworker.c, let's move mworker_on_new_child_failure() in mworker.c as well.
Like this it could also be declared as a static.
include/haproxy/global.h
src/haproxy.c
src/mworker.c