mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-05 06:40:33 -05:00
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.
This commit is contained in:
parent
f7cae0e55b
commit
fbd740ef3e
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue