commit | 732525fae7abee4b73d980b7f0b7f7aa5761cf23 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu May 06 15:49:04 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu May 06 17:02:36 2021 +0200 |
tree | 067948870999b5eaaf63900a030638ded3c0909a | |
parent | 299bd1c3ae516f02f6f07c8ae157067f50aecb58 [diff] |
MINOR: config: make cfg_eval_condition() support predicates with arguments Now we can look up a list of known predicates and pre-parse their arguments. For now the list is empty. The code needed to be arranged with a common exit point to release all arguments because there's no default argument freeing function (it likely only used to exist in the deinit code). Since we only support simple arguments for now it's no big deal, only a 2-liner loop.