]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mworker: more verbose error upon loading failure
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 19 Aug 2025 14:53:21 +0000 (16:53 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 20 Aug 2025 15:15:52 +0000 (17:15 +0200)
commit67cb6aab9006f19cd6478040fb8adc2f7c6153d6
tree62d3d3470152a148c014fdabaa4a00727b8fff22
parentca5511f02272bb57504539fb8a297fe6a2e446be
BUG/MEDIUM: mworker: more verbose error upon loading failure

When a worker crashes during its configuration parsing and without
emitting any messages, the master will emit the message "Failed to load
worker!". However that doesn't give us neither the PID of the worker,
nor the status code.

This patch fixes the problem by emitting a more verbose error.

Must be backported as far as 3.1.
src/mworker.c