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:
2956fe9
)
ah, this change broke multiple test cases
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 4 Sep 2003 13:07:09 +0000
(13:07 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 4 Sep 2003 13:07:09 +0000
(13:07 +0000)
lib/http.c
patch
|
blob
|
history
diff --git
a/lib/http.c
b/lib/http.c
index 69423839730f065d787b032eb9ddc98b01a16809..aa037e99acf083e2bb6ed44db4079b315709b167 100644
(file)
--- a/
lib/http.c
+++ b/
lib/http.c
@@
-162,8
+162,6
@@
void Curl_http_auth_act(struct connectdata *conn)
{
struct SessionHandle *data = conn->data;
- data->state.authwant = CURLAUTH_NONE; /* clear it first */
-
if(data->state.authavail) {
if(data->state.authavail & CURLAUTH_GSSNEGOTIATE)
data->state.authwant = CURLAUTH_GSSNEGOTIATE;
@@
-173,6
+171,8
@@
void Curl_http_auth_act(struct connectdata *conn)
data->state.authwant = CURLAUTH_NTLM;
else if(data->state.authavail & CURLAUTH_BASIC)
data->state.authwant = CURLAUTH_BASIC;
+ else
+ data->state.authwant = CURLAUTH_NONE; /* clear it */
if(data->state.authwant)
conn->newurl = strdup(data->change.url); /* clone URL */