From: William Lallemand Date: Fri, 2 May 2025 08:18:24 +0000 (+0200) Subject: MINOR: acme: wait 5s before checking the challenges results X-Git-Tag: v3.2-dev14~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd740ef3ea33e7830cd18394e135f3dfaf9d3c8;p=thirdparty%2Fhaproxy.git MINOR: acme: wait 5s before checking the challenges results Wait 5 seconds before trying to check if the challenges are ready, so it let time to server to execute the challenges. --- diff --git a/src/acme.c b/src/acme.c index 87efad7ed..7a80a6d7a 100644 --- a/src/acme.c +++ b/src/acme.c @@ -1856,6 +1856,9 @@ re: if ((ctx->next_auth = ctx->next_auth->next) == NULL) { st = ACME_CHKCHALLENGE; ctx->next_auth = ctx->auths; + /* let 5 seconds before checking the challenge */ + if (ctx->retryafter == 0) + ctx->retryafter = 5; } /* call with next auth or do the challenge step */ goto nextreq;