]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: acl: make acl_find_targets also resolve proxy names at config time
authorWilly Tarreau <w@1wt.eu>
Thu, 19 Apr 2012 17:28:33 +0000 (19:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 May 2012 18:57:11 +0000 (20:57 +0200)
commitd28c353fc5d22ad774229e3a0f79420c96db6270
treea0ac0d04da63718bfc942917f197e842c9650983
parent63364eed75188f2c0c87cff11ad0b0b72c85f4f7
MAJOR: acl: make acl_find_targets also resolve proxy names at config time

Proxy names are now resolved when the config is parsed and not at runtime.
This means that errors will be caught for real instead of having an ACL
silently never match. Another benefit is that the fetch will be much faster
since the lookup will not have to be performed anymore, eg for all ACLs
based on explicitly named stick-tables.

However some buggy configurations which used to silently fail in the past
will now refuse to load, hence the MAJOR tag.
src/acl.c
src/backend.c
src/frontend.c
src/session.c