diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-02-12 10:27:42 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-12 10:27:42 +0100 |
commit | 27fb920abe23468b503f178bc62fdec3f29d3cf6 (patch) | |
tree | d85187ac56153aabcd6632cfae458b601cd43f09 /tests/data/test3011 | |
parent | 9e951056175cf2d4ba2065c4bc9afe8ef16d44b8 (diff) | |
download | curl-bagder/http-transfer-creds.tar.gz |
http: use credentials from transfer, not connectionbagder/http-transfer-creds
HTTP auth "accidentally" worked before this cleanup since the code would
always overwrite the connection credentials with the credentials from
the most recent transfer and since HTTP auth is typically done first
thing, this has not been an issue. It was still wrong and subject to
possible race conditions or future breakage if the sequence of functions
would change.
The data.set.str[] strings MUST remain unmodified exactly as set by the
user, and the credentials to use internally are instead set/updated in
state.aptr.*
Fixes #6542
Closes #6545
Diffstat (limited to 'tests/data/test3011')
0 files changed, 0 insertions, 0 deletions