commit | bb6bc95b1eb22b7239d4d75016fda8210bd5d492 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Thu Dec 16 17:14:38 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Dec 16 17:31:57 2021 +0100 |
tree | da62371d46bfadcb76848e998dff7b5399f71451 | |
parent | 51899d251c799f1959190ce04945c232de06b48b [diff] |
MINOR: vars: Parse optional conditions passed to the set-var actions This patch adds the parsing of the optional condition parameters that can be passed to the set-var and set-var-fmt actions (http as well as tcp). Those conditions will not be taken into account yet in the var_set function so conditions passed as parameters will not have any effect. Since actions do not benefit from the parameter preparsing that converters have, parsing conditions needed to be done by hand.