mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:43:32 +03:00
lib: move request specific allocations to the request struct
To make it clearer that they are ephemeral. Closes #21301
This commit is contained in:
parent
7a349b5eed
commit
3512b673dd
13 changed files with 37 additions and 43 deletions
|
|
@ -91,7 +91,7 @@ CURLcode Curl_output_digest(struct Curl_easy *data,
|
|||
return CURLE_NOT_BUILT_IN;
|
||||
#else
|
||||
digest = &data->state.proxydigest;
|
||||
allocuserpwd = &data->state.aptr.proxyuserpwd;
|
||||
allocuserpwd = &data->req.proxyuserpwd;
|
||||
userp = data->state.aptr.proxyuser;
|
||||
passwdp = data->state.aptr.proxypasswd;
|
||||
authp = &data->state.authproxy;
|
||||
|
|
@ -99,7 +99,7 @@ CURLcode Curl_output_digest(struct Curl_easy *data,
|
|||
}
|
||||
else {
|
||||
digest = &data->state.digest;
|
||||
allocuserpwd = &data->state.aptr.userpwd;
|
||||
allocuserpwd = &data->req.userpwd;
|
||||
userp = data->state.aptr.user;
|
||||
passwdp = data->state.aptr.passwd;
|
||||
authp = &data->state.authhost;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue