]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: acl: remove flag ACL_MAY_LOOKUP which is improperly used
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Jan 2013 15:31:47 +0000 (16:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 3 Apr 2013 00:12:56 +0000 (02:12 +0200)
commite0db1e89462aeaaddd9f947b3fb4f0a8b3f50e9c
treef12ae8dacffcbb81c88f09eb308e7a5418ed787c
parentaae75e3279c6c9bd136413a72dafdcd4986bb89a
MEDIUM: acl: remove flag ACL_MAY_LOOKUP which is improperly used

This flag is used on ACL matches that support being looking up patterns
in trees. At the moment, only strings and IPs support tree-based lookups,
but the flag is randomly set also on integers and binary data, and is not
even always set on strings nor IPs.

Better get rid of this mess by only relying on the matching function to
decide whether or not it supports tree-based lookups, this is safer and
easier to maintain.
include/types/acl.h
src/acl.c
src/proto_http.c
src/proto_tcp.c
src/ssl_sock.c