]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cfgparse: warn about colliding names between defaults and proxies
authorWilly Tarreau <w@1wt.eu>
Wed, 18 Sep 2024 15:37:17 +0000 (17:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 18 Sep 2024 16:08:06 +0000 (18:08 +0200)
commitd8f4b07e4020aee2aed7fbaf589155f202d6c587
treecae828031394eeb81538642402523ed114599c16
parent8df44eea6dd1203218936fec7b571ab04b16ce91
MEDIUM: cfgparse: warn about colliding names between defaults and proxies

In order to complete the checks added in 303a66573d ("MEDIUM: cfgparse:
warn about proxies having the same names"), we also need to warn about
regular proxies having the same name as defaults sections as well as
defaults sections having the same name as proxies, since defaults
sections are inherently proxies, albeit stored in a separate list for
now.
src/cfgparse-listen.c