MINOR: acme: delay of 5s after the finalize
Let 5 seconds by default to the server after the finalize to generate the certificate. Some servers would not send a Retry-After during processing.
This commit is contained in:
parent
2db4848fc8
commit
f63ceeded0
@ -1892,6 +1892,9 @@ re:
|
|||||||
if (acme_res_finalize(task, ctx, &errmsg) != 0) {
|
if (acme_res_finalize(task, ctx, &errmsg) != 0) {
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
|
/* let 5 seconds to the server to generate the cert */
|
||||||
|
if (ctx->retryafter == 0)
|
||||||
|
ctx->retryafter = 5;
|
||||||
st = ACME_CHKORDER;
|
st = ACME_CHKORDER;
|
||||||
goto nextreq;
|
goto nextreq;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user