aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-11-04 23:47:06 +0100
committerDaniel Stenberg <daniel@haxx.se>2012-11-06 22:23:56 +0100
commit8e329bb7597c0f2b98a02df34ace20970ededdc3 (patch)
treef3249217b3cb8a0680f4770955144c47718dad75 /lib/transfer.c
parentda82f59b697310229ccdf66104d5d65a44dfab98 (diff)
Revert "Zero out auth structs before transfer"
This reverts commit ce8311c7e49eca93c136b58efa6763853541ec97. The commit made test 2024 work but caused a regression with repeated Digest authentication. We need to fix this differently.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 2ad5fad46..a00469ee6 100644
--- 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;