]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: acme: handle multiple auth with the same name
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 21 Nov 2025 11:10:21 +0000 (12:10 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 21 Nov 2025 11:28:41 +0000 (12:28 +0100)
commit26093121a33fb6f84c21ffb21e70a9432a63e70e
treec638c2bf811442ff9f250d1b918a06b376f20322
parentbbd83e3de90ffa06e7c3ae2edaf9f8b0eade0df1
BUG/MINOR: acme: handle multiple auth with the same name

In case of the dns-01 challenge, it is possible to have a domain
"example.com" and "*.example.com" in the same request. This will create
2 different auth objects, which need 2 different challenges.

However the associated domain is "example.com" for both auth objects.

When doing a "challenge_ready", the algorithm will break at the first
domain found. But since you can have multiple time the same domain in
this case, breaking at the first one prevent to have all auth objects in
a ready state.

This patch just remove the break so we can loop on every auth objects.

Must be backported to 3.2.
src/acme.c