mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
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
This commit is contained in:
parent
d19c9e4e63
commit
078b3031ea
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user