]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stick-table: Add table_expire() and table_idle() new converters
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 16 Aug 2022 16:11:25 +0000 (18:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Aug 2022 08:52:15 +0000 (10:52 +0200)
commitbbeec37b3189d8132e9faeea60285bdb0eefcf26
treeaf32d007138e7f00c0fd2bff8467523f6427b861
parentcc1a2a1867382e2a823612c9a161a45ac2c56352
MINOR: stick-table: Add table_expire() and table_idle() new converters

table_expire() returns the expiration delay for a stick-table entry associated
to an input sample. Its counterpart table_idle() returns the time the entry
remained idle since the last time it was updated.
Both converters may take a default value as second argument which is returned
when the entry is not present.
doc/configuration.txt
src/stick_table.c