From: William Lallemand Date: Thu, 24 Apr 2025 15:50:29 +0000 (+0200) Subject: MEDIUM: acme: reset the remaining retries X-Git-Tag: v3.2-dev12~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0909832e74828890e35e48494e872d8ae323bdae;p=thirdparty%2Fhaproxy.git MEDIUM: acme: reset the remaining retries When a request succeed, reset the remaining retries to the default ACME_RETRY value (3 by default). --- diff --git a/src/acme.c b/src/acme.c index 2debfdb4e..422f02b72 100644 --- a/src/acme.c +++ b/src/acme.c @@ -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;