]> git.kaiwu.me - haproxy.git/commit
MINOR: stktable: Save 8 bytes in stksess structure
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 14 Oct 2025 16:43:24 +0000 (18:43 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 30 Oct 2025 13:52:02 +0000 (14:52 +0100)
commitd714c6752cd4aa2b490e06b6ed33ae1963734250
tree1b69cc56e64885b7da89d0c91bdedf0e3a9a1731
parent70627d3690995485c51bff33d8cfa8ed5b6af555
MINOR: stktable: Save 8 bytes in stksess structure

Thanks to the previous change, it is possible to save 8 bytes in the stksess
structure. the <shard> field is now a 16-bits unsigned integer. It is
possible because its max value is tested during parsing. <seen> is now a
8-bits integer because its value is 0 or 1. And <updt_type> is now 8-bits
integer too. It is one of STKSESS_UPDT_ value.
include/haproxy/stick_table-t.h