From 078b3031eaf2e44ada1fe067d5e5c3104cbc0772 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Fri, 20 Feb 2026 13:09:04 +0100 Subject: [PATCH] easy: reset pausing when resetting request When the easy handle's request is reset, this needs to also reset any pausing/ratelimit state. Reported-by: Natris on github Fixes #20641 Closes #20643 --- lib/request.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/request.c b/lib/request.c index aed9c7eb3b..66077530d7 100644 --- a/lib/request.c +++ b/lib/request.c @@ -158,6 +158,9 @@ void Curl_req_hard_reset(struct SingleRequest *req, struct Curl_easy *data) req->no_body = data->set.opt_no_body; req->authneg = FALSE; req->shutdown = FALSE; + /* Unpause all directions */ + Curl_rlimit_block(&data->progress.dl.rlimit, FALSE, &t0); + Curl_rlimit_block(&data->progress.ul.rlimit, FALSE, &t0); } void Curl_req_free(struct SingleRequest *req, struct Curl_easy *data)