diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-22 20:07:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-22 20:07:41 +0000 |
commit | 2ff30d067c19aea79cd82e0a45e313cf3bb07285 (patch) | |
tree | 7b304c7139048758169e5e562e72929d3edb6278 /lib/transfer.c | |
parent | 84406b3e2cd887b2e162345a49d5ffaf3e0f43ec (diff) |
- David Byron found and fixed a small bug with the --fail and authentication
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and
communicate with a proxy that requires basic authentication, the proxy
properly returns a 407, but the failure detection code doesn't realize it
should give up, so curl returns with exit code 0. Test case 162 verifies
this.
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 2d0b4aa33..1151e05b6 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -1499,6 +1499,7 @@ CURLcode Curl_pretransfer(struct SessionHandle *data) /* set preferred authentication, default to basic */ data->state.authstage = 0; /* initialize authentication later */ + data->state.authproblem = FALSE; /* If there was a list of cookie files to read and we haven't done it before, do it now! */ |