]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: acl: remove the ACL_TEST_F_NULL_MATCH flag
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Apr 2012 16:16:26 +0000 (18:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:13 +0000 (20:57 +0200)
commit8f7406e9b4025013e73cc63eb5c952a5cbc4c907
tree51c497d380f35d563a73ceca8e74b02bf27981d7
parentb27c0d35dd198c5cd2264f681c4f2d20efbe2e75
MEDIUM: acl: remove the ACL_TEST_F_NULL_MATCH flag

This flag was used to force a boolean match even if there was no pattern
to match. It was used only by http_auth() and designed only for this one.
It's easier and cleaner to make the fetch function perform the test and
report the boolean result as a few other functions already do. It simplifies
the acl_exec_cond() logic and will help merging ACLs and patterns.
include/proto/auth.h
include/types/acl.h
src/acl.c
src/auth.c
src/proto_http.c