]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: acl: Extract the pattern parsing and indexation from the "acl_read_patterns_fr...
authorThierry FOURNIER <tfournier@exceliance.fr>
Fri, 22 Nov 2013 16:33:27 +0000 (17:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 Dec 2013 22:31:33 +0000 (23:31 +0100)
commit3a103c5a6ba99f856c953ccb9f90e1a8ad95bb57
treeb9973a72b2817c197f3cb40aa4c9fde5ec4f7b97
parent319e495a96b58fd25ff9f2a05ec04688015c84d6
MINOR: acl: Extract the pattern parsing and indexation from the "acl_read_patterns_from_file()" function

With this split, the pattern indexation can apply to any source. The map
feature needs this functionality because the map cannot be loaded with the
same file format as the ones supported by acl_read_patterns_from_file().

The code was only moved to its own function, no functional changes were made.
include/proto/acl.h
src/acl.c