]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stick-table: remove the unused table->exp_next
authorWilly Tarreau <w@1wt.eu>
Mon, 14 Nov 2022 16:33:02 +0000 (17:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Nov 2022 17:20:38 +0000 (18:20 +0100)
commit63427140527bcd0e45fe4a7a574cc5db0b5141e6
treebefdf22bef878d6c8a0a5e3c11624fcbcce3e88c
parente239e4938d89956e7820be4a0f26e782a86bcf6d
CLEANUP: stick-table: remove the unused table->exp_next

The ->exp_next field of the stick-table was probably useful in 1.5 but
it currently only carries a copy of what the future value of the table's
task's expire value will be, while it's systematically copied over there
immediately after being assigned. As such it provides exactly a local
variable. Let's remove it, as it costs atomic operations.
include/haproxy/stick_table-t.h
src/stick_table.c