From: Amaury Denoyelle Date: Wed, 18 Feb 2026 13:00:22 +0000 (+0100) Subject: BUG/MINOR: proxy: add dynamic backend into ID tree X-Git-Tag: v3.4-dev6~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78549c66c5d2105cccbc6b6bda89d70a91a9eedf;p=thirdparty%2Fhaproxy.git BUG/MINOR: proxy: add dynamic backend into ID tree Add missing proxy_index_id() call in "add backend" handler. This step is responsible to store the newly created proxy instance in the used_proxy_id global tree. No need to backport. --- diff --git a/src/proxy.c b/src/proxy.c index 70a2e5add..22b76e7ae 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -4928,6 +4928,7 @@ static int cli_parse_add_backend(char **args, char *payload, struct appctx *appc memprintf(&msg, "no spare proxy ID available"); goto err; } + proxy_index_id(px); dynpx_next_id = px->uuid; if (!proxies_list) {