]> git.kaiwu.me - haproxy.git/commit
MEDIUM: acme: initialize the dns timer starting from the first DNS request
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 2 Apr 2026 13:45:47 +0000 (15:45 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 2 Apr 2026 13:54:02 +0000 (15:54 +0200)
commit253bf8cbae8718667d816925f4124ec775d1aa21
tree1d24c3c0225d61bda209caa978609e3cef9ddbce
parent6228ec6a8122d1c5e5eb6154ab9bb66da806e954
MEDIUM: acme: initialize the dns timer starting from the first DNS request

Previously the dns timeout timer was initialized in ACME_RSLV_WAIT,
before the initial dns-delay expires. This meant the countdown started
before any DNS request was actually sent, so the effective timeout was
shorter than expected by one dns-delay period.

Move the initialization to ACME_RSLV_TRIGGER so the timer starts only
when the first DNS resolution attempt is triggered. Update the
documentation to clarify this behaviour.
doc/configuration.txt
src/acme.c