]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log/backend: ensure log exclusive params are not used in other modes
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 15 Nov 2023 11:18:52 +0000 (12:18 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 18 Nov 2023 10:16:21 +0000 (11:16 +0100)
commit6a29888f60c3ece1f054020d4f153be69efd5436
treed51db80b87c9d161aa726d4ecc67708f7e193fad
parent42d7d1bd47225bdaeecd4eac9d0bf28980b92e54
MINOR: log/backend: ensure log exclusive params are not used in other modes

add proxy_cfg_ensure_no_log() function (similar to
proxy_cfg_ensure_no_http()) to ensure at the end of proxy parsing that
no log exclusive options are found if the proxy is not in log mode.
include/haproxy/proxy.h
src/cfgparse.c
src/proxy.c