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/urldata.h | |
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/urldata.h')
-rw-r--r-- | lib/urldata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 55070ccbf..7642cb9a1 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -725,6 +725,7 @@ struct UrlState { depending on authstage) */ long authavail; /* what the server reports */ + bool authproblem; /* TRUE if there's some problem authenticating */ bool authdone; /* TRUE when the auth phase is done and ready to do the *actual* request */ #ifdef USE_ARES |