]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: server: switch the host_dn member to cebis_tree
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Jul 2025 15:11:33 +0000 (17:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2025 07:23:46 +0000 (09:23 +0200)
commitfdf6fd5b456294374d44ce9315de9db871275a47
treebeca89d8fe1a4426cd451dd347c00979c28b9cc8
parent413e903a22231f7e19efcd23a832e7928bcfb8b6
MEDIUM: server: switch the host_dn member to cebis_tree

This member is used to index the hostname_dn contents for DNS resolution.
Let's replace it with a cebis_tree to save another 32 bytes (24 for the
node + 8 by avoiding the duplication of the pointer). The struct server is
now at 3904 bytes.
include/haproxy/resolvers-t.h
include/haproxy/server-t.h
src/resolvers.c
src/server_state.c