]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: server: switch addr_node to cebis_tree
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Jul 2025 13:13:15 +0000 (15:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 07:23:46 +0000 (09:23 +0200)
commit0e99f64fc68341c37e21249f654f1a3b801c0492
treeb38b3c72e79c953d1add5b940adb17bcc9773bb0
parent91258fb9d899640184e4f89308092b481c861c0d
MEDIUM: server: switch addr_node to cebis_tree

This contains the text representation of the server's address, for use
with stick-tables with "srvkey addr". Switching them to a compact node
saves 24 more bytes from this structure. The key was moved to an external
pointer "addr_key" right after the node.

The server struct is now 3968 bytes (down from 4032) due to alignment, and
the proxy struct shrinks by 8 bytes to 3152.
include/haproxy/proxy-t.h
include/haproxy/server-t.h
src/proxy.c
src/server.c
src/stream.c