MINOR: pattern: support purging arbitrary ranges of generations
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Apr 2021 11:19:37 +0000 (13:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Apr 2021 13:36:31 +0000 (15:36 +0200)
commita13afe6535e29e7dfe9a488cc2aed7795ed5bbf1
treeb6948df9432e83247cd8de8bf6454993667a75b1
parent95f753e4037c95c4e17084781616fea2bb4c14bd
MINOR: pattern: support purging arbitrary ranges of generations

Instead of being able to purge only values older than a specific value,
let's support arbitrary ranges and make pat_ref_purge_older() just be
one special case of this one.
include/haproxy/pattern.h
src/pattern.c