mirror of
https://github.com/curl/curl.git
synced 2026-05-30 05:07:28 +03: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue