diff --git a/src/ssl_ocsp.c b/src/ssl_ocsp.c index c34868102..14fb7e915 100644 --- a/src/ssl_ocsp.c +++ b/src/ssl_ocsp.c @@ -1273,6 +1273,7 @@ static struct task *ssl_ocsp_update_responses(struct task *task, void *context, } if (hc) httpclient_stop_and_destroy(hc); + ctx->hc = NULL; free_trash_chunk(req_url); free_trash_chunk(req_body); task->expire = tick_add(now_ms, next_wakeup);