mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03:00
request: reset resp_trailer in new requests
Otherwise the trailer state lingers on into subsequent requests.
Follow-up to 29610e5f3d
Spotted by Codex Security
Closes #21112
This commit is contained in:
parent
cfc86e4e04
commit
10d5177984
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ void Curl_req_hard_reset(struct SingleRequest *req, struct Curl_easy *data)
|
|||
req->ignorebody = FALSE;
|
||||
req->http_bodyless = FALSE;
|
||||
req->chunk = FALSE;
|
||||
req->resp_trailer = FALSE;
|
||||
req->ignore_cl = FALSE;
|
||||
req->upload_chunky = FALSE;
|
||||
req->no_body = data->set.opt_no_body;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue