mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
urldata: move cookiehost to struct SingleRequest
To make it scoped for the single request appropriately. Reported-by: Muhamad Arga Reksapati Verify with libtest 2504: a custom Host *disabled* on reused handle Closes #21312
This commit is contained in:
parent
86f1e5b3f6
commit
3a19987a87
9 changed files with 162 additions and 12 deletions
|
|
@ -118,6 +118,9 @@ void Curl_req_hard_reset(struct SingleRequest *req, struct Curl_easy *data)
|
|||
curlx_safefree(req->userpwd);
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
curlx_safefree(req->proxyuserpwd);
|
||||
#endif
|
||||
#ifndef CURL_DISABLE_COOKIES
|
||||
curlx_safefree(req->cookiehost);
|
||||
#endif
|
||||
Curl_client_reset(data);
|
||||
if(req->sendbuf_init)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue