]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: add a new 'sample' type to store fetched data
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Apr 2012 12:24:58 +0000 (14:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:13 +0000 (20:57 +0200)
commit16c31b00dcb24b54f9533fc4a4bf5b7be6c9c2be
tree60b12aaf2917d02fdc658912918a576a44c1c4eb
parent8f7406e9b4025013e73cc63eb5c952a5cbc4c907
MINOR: pattern: add a new 'sample' type to store fetched data

The pattern type is ambiguous because a pattern is only a type and a data
part, and is normally used to match against samples. Currently, patterns
cannot hold information related to the life of the data which was extracted.
We don't want to overload patterns either, so let's add a new "sample" type
which will progressively supersede the acl_test and maybe the pattern at most
places. The sample shares similar information with patterns and also has flags
describing the data volatility and protection.
include/types/pattern.h