mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-07 15:52:10 -04:00
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:
parent
bb768b3e26
commit
0909832e74
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue