MEDIUM: acme: reset the remaining retries

When a request succeed, reset the remaining retries to the default
ACME_RETRY value (3 by default).
This commit is contained in:
William Lallemand 2025-04-24 17:50:29 +02:00
parent bb768b3e26
commit 0909832e74

View File

@ -1757,6 +1757,7 @@ struct task *acme_process(struct task *task, void *context, unsigned int state)
}
ctx->retries = ACME_RETRY;
ctx->http_state = http_st;
ctx->state = st;
task->expire = TICK_ETERNITY;