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