commit | 753d4db5f3b70a2feeb90031ba9b37e919a06090 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 03 09:02:47 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Sep 03 11:01:48 2021 +0200 |
tree | 2c6e6928f7c3359ca4719f8518a91e5a48526b34 | |
parent | 20b7a0f9ed0c4f2aefa0d170b26610d37b740445 [diff] |
MINOR: vars: add a "set-var-fmt" directive to the global section Just like the set-var-fmt action for tcp/http rules, the set-var-fmt directive in global sections allows to pre-set process-wide variables using a format string instead of a sample expression. This is often more convenient when it is required to concatenate multiple fields, or when emitting just one word.