]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pattern: add pat_ref_may_commit() helper function
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 21 Nov 2024 10:28:01 +0000 (11:28 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Fri, 29 Nov 2024 06:23:01 +0000 (07:23 +0100)
commite769d8f426d426686be9620b115fec842a41dad4
treede1761c4423d6c8d868412868975bfd1a929fb51
parent43ab25f007ba2a29d7c0fda694d6831aafad33a0
MINOR: pattern: add pat_ref_may_commit() helper function

pat_ref_may_commit() may be used to know if a given generation ID id still
valid, which means it may still be committed at some point. Else it means
that another pending generation ID older than the tested one was already
committed and thus other generations ID below this one are stale and must
be regenerated.
include/haproxy/pattern.h