]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: acme: fix fallback state after failed initial DNS check
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 15 Apr 2026 14:06:53 +0000 (16:06 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Wed, 15 Apr 2026 14:06:59 +0000 (16:06 +0200)
commit69211b869f289185d6cad64a8d8524e4610b6152
treeea4b009da5294cd808eb17de32ef132c77c955a3
parentc295a5c86155238b8c210c91579a2acaff9381b5
BUG/MINOR: acme: fix fallback state after failed initial DNS check

When the opportunistic initial DNS check (ACME_INITIAL_RSLV_READY) fails,
the state machine was incorrectly transitioning to ACME_RSLV_RETRY_DELAY
instead of ACME_CLI_WAIT. This caused the challenge to enter the DNS retry
loop rather than falling back to the normal cond_ready flow that waits for
the CLI signal.

Also reorder ACME_CLI_WAIT in the state enum and trace switch to reflect
the actual execution order introduced in the previous commit: it comes after
ACME_INITIAL_RSLV_READY, not before ACME_INITIAL_RSLV_TRIGGER.

No backport needed.
include/haproxy/acme-t.h
src/acme.c