]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: acl: set SMP_OPT_ITERATE on fetch functions
authorWilly Tarreau <w@1wt.eu>
Thu, 26 Apr 2012 09:44:02 +0000 (11:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:18 +0000 (20:57 +0200)
commit7a777edbdfc7965971c27c829f6775d185e227a3
treebcc50cbdce696cfb3b30b4367a1590e1dbf5d439
parentd6281ae0466ff95b4b1ae7752388ac9fea5c3648
MINOR: acl: set SMP_OPT_ITERATE on fetch functions

This way, fetch functions will be able to tell if they're called for a single
request or as part of a loop. This is important for instance when we use
hdr(foo), because in an ACL this means that all hdr(foo) occurrences must
be checked while in a pattern it means only one of them (eg: last one).
include/types/pattern.h
src/acl.c