]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: server: use the tree to look up the server name in findserver()
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Jul 2025 09:06:41 +0000 (11:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Jul 2025 08:30:27 +0000 (10:30 +0200)
commit5e78ab33cd8ac0b8cf479bc5fe762555410451a1
tree957d6ca54600323d298f52a9d5826490b9bcc9dd
parent12a6a3bb3fcfb72497e5944c2e1f696fafd033e5
MINOR: server: use the tree to look up the server name in findserver()

Let's just use the tree-based lookup instead of walking through the list.
This function is used to find duplicates in "track" statements and a few
such places, so it's important not to waste too much time on large setups.
include/haproxy/server.h
src/server.c