]> git.kaiwu.me - haproxy.git/commit
MINOR: stick-table: calculate the on-wire size of each key
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Sep 2026 14:21:10 +0000 (16:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Sep 2026 15:06:36 +0000 (17:06 +0200)
commit8582635915d48966746cb3a7810771488a0eb9bb
tree4cd89cffd49baaf9f0dad11e36d3586eeacd14e2
parent1e7260bc6948a57ac585b13d9ca8e57843a0f7f7
MINOR: stick-table: calculate the on-wire size of each key

In stick_table->proto_size, we now store the estimated worse case for
the size of a key sent over the wire with all of its stored data. This
includes the key itself when it's fixed, the upper bound for stored
data, and some overhead (11 bytes measured). It will be used by next
commit.
include/haproxy/stick_table-t.h
src/stick_table.c