mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 17:17:06 +02: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
@ -1856,6 +1856,9 @@ struct task *acme_process(struct task *task, void *context, unsigned int state)
|
|||||||
if ((ctx->next_auth = ctx->next_auth->next) == NULL) {
|
if ((ctx->next_auth = ctx->next_auth->next) == NULL) {
|
||||||
st = ACME_CHKCHALLENGE;
|
st = ACME_CHKCHALLENGE;
|
||||||
ctx->next_auth = ctx->auths;
|
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 */
|
/* call with next auth or do the challenge step */
|
||||||
goto nextreq;
|
goto nextreq;
|
||||||
|
Loading…
Reference in New Issue
Block a user