]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: cfgparse: turn the same proxy name warning to an error
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Jun 2025 13:26:44 +0000 (15:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Jun 2025 13:34:05 +0000 (15:34 +0200)
commit067be38c0ee18a993a51541179296b45c59d6a31
treea3dead92563795281f1829c69221f43087603ddb
parent74b95922efd890c7ddd6f916c6f6995e536d5362
MAJOR: cfgparse: turn the same proxy name warning to an error

As warned since 3.1, it's no longer permitted to have a frontend and
a backend under the same name. This causes too many designation issues,
and causes trouble with stick-tables as well. Now each proxy name is
unique.

This commit only changes the check to return an error. Some code parts
currently exist to find the best candidates, these will be able to be
simplified as future cleanup patches. The doc was updated.
doc/configuration.txt
src/cfgparse-listen.c