]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mworker: readapt program support in mworker_catch_sigchld
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 10 Oct 2024 21:51:20 +0000 (23:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:02:39 +0000 (22:02 +0200)
commit7a267c4a276e3648b2e4bf107587b6f3e00de77d
treefff4053bd205cef66d2f6984a41b1578f285ac05
parentd766677d9217b2677ce1cb02391358da5d07a7a2
MINOR: mworker: readapt program support in mworker_catch_sigchld

This patch is a part of series to reintroduce the program support in the new
master-worker architecture.

We just only launch and stop external programs and there is no any
communication between the master process and the started program binary. So,
ipc_fd[0] and ipc_fd[1] are not used and kept as -1 for programs processes. Due
to this, no need for the exiting program process to call fd_delete on this
fds. Otherwise, this will trigger a BUG_ON.
src/mworker.c