]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: payload/config: Warn if a L6 sample fetch is used from an HTTP proxy
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 26 Mar 2021 09:02:46 +0000 (10:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Apr 2021 13:34:22 +0000 (15:34 +0200)
commit581db2b829d84d1086423c6713aa473ff66783be
tree8e8ead24c1dbb8242bf9c748174c219aeb59d207
parent42c6cf950111736327863de5e82036a1d51deb04
MINOR: payload/config: Warn if a L6 sample fetch is used from an HTTP proxy

L6 sample fetches are now ignored when called from an HTTP proxy. Thus, a
warning is emitted during the startup if such usage is detected. It is true
for most ACLs and for log-format strings. Unfortunately, it is a bit painful
to do so for sample expressions.

This patch relies on the commit "MINOR: action: Use a generic function to
check validity of an action rule list".
include/haproxy/cfgparse.h
src/action.c
src/cfgparse.c
src/log.c