]> git.kaiwu.me - haproxy.git/commit
MINOR: stick-table: provide a function to estimate on-wire data size
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Sep 2026 14:19:07 +0000 (16:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Sep 2026 15:06:36 +0000 (17:06 +0200)
commit1e7260bc6948a57ac585b13d9ca8e57843a0f7f7
treeb11801bb4b8e8c0457be4067ed55b4c2d180d542
parent04456142e3ed1d8b5a7d3d39861ee6529458fca7
MINOR: stick-table: provide a function to estimate on-wire data size

We'll need to estimate the on-wire size of the stored data as a majorant
to adjust key sizes, so let's provide a new function for this. It
considers all varint at their maximum size.
include/haproxy/stick_table.h