]> git.kaiwu.me - haproxy.git/commit
MINOR: server: treat proxy server tree as without duplicate
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 3 Aug 2026 07:37:55 +0000 (09:37 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 3 Aug 2026 09:13:27 +0000 (11:13 +0200)
commite5237c746f84714d0b42d53c794bc249160291ba
tree25e1c02a75e41f6c09d8c6a327354d5ec0935b4b
parent5e47582a5b0db1d24347cfd0ca13110f88e7fb03
MINOR: server: treat proxy server tree as without duplicate

Previous commit changes the unicity checks on server name inside a
proxy. This is now done directly during the parsing, prior to the tree
insertion.

Thus, the tree can now be considered without duplicate. Replace cebis_*
function by their equivalent cebuis_*. Also, insertion is now performed
via utility function _srv_register_name() which contains a new BUG_ON()
to ensure server name unicity principle is not violated.
src/server.c