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 @@ re:
|
|||||||
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…
x
Reference in New Issue
Block a user