]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: sample: add a new CFG_PARSER context for samples
authorWilly Tarreau <w@1wt.eu>
Fri, 26 Mar 2021 10:09:38 +0000 (11:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Mar 2021 15:23:45 +0000 (16:23 +0100)
commitf9a7a8fd8e9993523864837330d75ce24fc7b6a3
tree4934663eaf29df6e74d182b70bd42d04b5659af9
parent0209c970386d2d5e090f89d3e022d14896fc081d
MINOR: sample: add a new CFG_PARSER context for samples

We'd sometimes like to be able to process samples while parsing
the configuration based on purely internal thing but that's not
possible right now. Let's add a new CFG_PARSER context for samples
which only permits constant samples (i.e. those which do not change
in the process' life and which are stable during config parsing).
include/haproxy/sample-t.h
src/sample.c