]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: only run postcheck_log_backend() checks on backend
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 9 May 2025 14:34:27 +0000 (16:34 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Mon, 2 Jun 2025 15:51:24 +0000 (17:51 +0200)
commit1f12e45b0a890aa6d0212b0ca7b69edd44038d08
treec05093f63a4f66bdcc68a3bc0a5905cd1d08a700
parent943958c3ff042d24331f6ca872440cec8d2e13f8
MINOR: log: only run postcheck_log_backend() checks on backend

postcheck_log_backend() checks are executed no matter if the proxy
actually has the backend capability while the checks actually depend
on this.

Let's fix that by adding an extra condition to ensure that the BE
capability is set.

This issue is not tagged as a bug because for now it remains impossible
to have a syslog proxy without BE capability in the main proxy list, but
this may change in the future.
src/log.c