projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da82f59
)
Revert "Zero out auth structs before transfer"
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 4 Nov 2012 22:47:06 +0000
(23:47 +0100)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 6 Nov 2012 21:23:56 +0000
(22:23 +0100)
This reverts commit
ce8311c7e49eca93c136b58efa6763853541ec97
.
The commit made test 2024 work but caused a regression with repeated
Digest authentication. We need to fix this differently.
lib/transfer.c
patch
|
blob
|
history
diff --git
a/lib/transfer.c
b/lib/transfer.c
index
2ad5fad
..
a00469e
100644
(file)
--- a/
lib/transfer.c
+++ b/
lib/transfer.c
@@
-1433,10
+1433,6
@@
CURLcode Curl_pretransfer(struct SessionHandle *data)
data->state.ssl_connect_retry = FALSE;
- /* zero out auth state */
- memset(&data->state.authhost, 0, sizeof(struct auth));
- memset(&data->state.authproxy, 0, sizeof(struct auth));
-
data->state.authproblem = FALSE;
data->state.authhost.want = data->set.httpauth;
data->state.authproxy.want = data->set.proxyauth;