mirror of
https://github.com/curl/curl.git
synced 2026-07-23 15:47:15 +03:00
libcurl: reset rewind flag in curl_easy_reset()
curl_easy_reset() did not reset the `rewind_read` flag. This caused any handles that previously had a CURLE_SEND_FAIL_REWIND error to get stuck with that error, failing any subsequent requests, even if they didn't have any body at all. Verified in test 3034 Fixes #18206 Closes #18207
This commit is contained in:
parent
ab9dfebdae
commit
a93113b5b4
5 changed files with 120 additions and 2 deletions
|
|
@ -153,6 +153,7 @@ void Curl_req_hard_reset(struct SingleRequest *req, struct Curl_easy *data)
|
|||
req->eos_written = FALSE;
|
||||
req->eos_read = FALSE;
|
||||
req->eos_sent = FALSE;
|
||||
req->rewind_read = FALSE;
|
||||
req->upload_done = FALSE;
|
||||
req->upload_aborted = FALSE;
|
||||
req->ignorebody = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue