mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +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
This commit is contained in:
parent
0567e72168
commit
2aad1df87f
9 changed files with 159 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