MINOR: log/backend: prevent tcp-{request,response} use with LOG mode
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 16 Nov 2023 09:48:34 +0000 (10:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 18 Nov 2023 10:16:21 +0000 (11:16 +0100)
commit533561896709e630d742d7c10467de3223478ec2
treebbe8f50af0610134aff789c70461acfedbe8bfde
parent6a29888f60c3ece1f054020d4f153be69efd5436
MINOR: log/backend: prevent tcp-{request,response} use with LOG mode

We start implementing some postparsing compatibility checks for log
backends.

Here we report a warning if user tries to use tcp-{request,response} rules
with log backend, and we properly ignore such rules when inherited from
defaults section.
src/log.c
src/tcp_rules.c