]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: server: do not check for duplicates anymore in findserver()
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Jul 2025 08:48:05 +0000 (10:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Jul 2025 08:30:27 +0000 (10:30 +0200)
commit732cd0dfa25dd77b6b348ffd5abd1a0bffb7a4ce
tree30b989ef21a4d9a58520ba04a69da797f1036746
parentd4d72e23034da39452e8d981b75956eedd6a37c8
CLEANUP: server: do not check for duplicates anymore in findserver()

findserver() used to check for duplicate server names. These are no
longer accepted in 3.3 so let's get rid of that test and simplify the
code. Note that the function still only uses the list instead of the
tree.
src/proxy.c