]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: acl: do not evaluate next terms after a miss
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Oct 2013 18:30:32 +0000 (19:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Oct 2013 18:30:32 +0000 (19:30 +0100)
commit79c412b67380c0e316863b060d31980b5fa3deb6
treeeb2fd99e371ac23190b34252428d1cfe99b70dab
parent44778ad87d9aa4127b6968a18413b74487c0b762
BUG/MEDIUM: acl: do not evaluate next terms after a miss

When a condition does something like :

   action if A B C || D E F

If B returns a miss (can't tell true or false), C must not
be evaluated. This is important when C has a side effect
(eg: sc*_inc_gpc0). However the second part after the ||
can still be evaluated.
src/acl.c