MINOR: action: Use a generic function to check validity of an action rule list
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 25 Mar 2021 16:19:04 +0000 (17:19 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Sep 2021 13:18:09 +0000 (15:18 +0200)
commitdfc913347413f698901d7bd8d56b92c4ac9dd0a7
tree17b4d59542c41280162a1a478e7ad51b9c9be6d5
parentc5ee2ceca9e06768f1e1c320a73dc1fb05525362
MINOR: action: Use a generic function to check validity of an action rule list

The check_action_rules() function is now used to check the validity of an
action rule list. It is used from check_config_validity() function to check
L5/6/7 rulesets.

(cherry picked from commit 42c6cf950111736327863de5e82036a1d51deb04)
[cf: This patch is in fact a fix because the "tcp-resonse content" ruleset
     was not fully configured. It was ignored during Post-parsing
     stage. This patch should fix a bug reported in #1263 by @ HiggTh. It
     must be backported in all stable versions.]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/action.h
src/action.c
src/cfgparse.c