]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: acl: boolean only matches were broken by recent changes
authorThierry FOURNIER <tfournier@exceliance.fr>
Mon, 17 Mar 2014 18:53:10 +0000 (19:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Mar 2014 19:12:40 +0000 (20:12 +0100)
commite5978bfc2534c34c8ef2bb1a6dc1c7e5ebe36aeb
tree1a0cbdc517068785fda058bfea6907f1372b991d
parentc5a4e986390ccb096e1834bf7191184b13c55c4a
BUG/MEDIUM: acl: boolean only matches were broken by recent changes

The ACL changes made in the last patchset force the execution
of each pattern matching function. The function pat_match_nothing
was not provided to be excuted, it was just used as a flag that
was checked by the ACL execution code. Now this function is
executed and always returns false.

This patch makes it work as expected. Now, it returns the boolean
status of the received sample just as was done previously in the
ACL code.

This bug is a part of the patchset just merged. It does not need
to be backported.
src/pattern.c