]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: pattern: only match patterns that match the current generation
authorWilly Tarreau <w@1wt.eu>
Thu, 29 Oct 2020 08:41:34 +0000 (09:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Nov 2020 18:27:09 +0000 (19:27 +0100)
commitc93da6950e2bba1bdd3c788ce2bc1d8d5d66ad38
treed918ae27ad8d2ce0ca229e8abc5a3c2a8f5fd8ff
parent29947745b5dd1a0a45c8153f5c5b92b87cd27b74
MEDIUM: pattern: only match patterns that match the current generation

Instead of matching any pattern found in the tree, only match those
matching the current generation of entries. This will make sure that
reloads are atomic, regardless of the time they take to complete, and
that newly added data are not matched until the whole reference is
committed. For consistency we proceed the same way on "show map" and
"show acl".

This will have no impact for now since generations are not used.
src/map.c
src/pattern.c