MINOR: sample: add missing ARGC_ entries
authorWilly Tarreau <w@1wt.eu>
Thu, 2 Sep 2021 17:43:20 +0000 (19:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Sep 2021 17:43:20 +0000 (19:43 +0200)
commit57467b83565b9c3e112053c92ede66113809d458
treef9f74a3d7ff6558a56ce618b0c365c8e6d8b7adc
parent843096d72a4fa2b5b857dde92be9f02258ab2655
MINOR: sample: add missing ARGC_ entries

For a long time we couldn't have arguments in expressions used in
tcp-request, tcp-response etc rules. But now due to the variables
it's possible, and their context in case of failure to resolve an
argument (e.g. backend name not found) is not properly reported
because there is no arg context values in ARGC_* to report them.

Let's add a number of missing ones for tcp-request {connection,
session,content}, tcp-response content, tcp-check, the config
parser (for "set-var" in the global section) and the CLI parser
(for "set-var" on the CLI).
include/haproxy/arg-t.h
src/sample.c