diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-03 22:46:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-03 22:46:25 +0000 |
commit | 74816fed6c82132b0ef32bd8775b0ef659a5b4c3 (patch) | |
tree | 4825fab78e5e277f2ee757040d59f679c40442f4 /lib | |
parent | b4c9789d5fdfdc3724bd99e6f20a80c4778b416b (diff) |
Hardeep Singh reported a problem doing HTTP POST with Digest. (It was actually
also affecting NTLM and Negotiate.) It turned out that if the server responded
with 100 Continue before the initial 401 response, libcurl didn't take care of
the response properly. Test case 245 and 246 added to verify this.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/http.c b/lib/http.c index 308f9efc3..c689b6596 100644 --- a/lib/http.c +++ b/lib/http.c @@ -304,6 +304,10 @@ CURLcode Curl_http_auth_act(struct connectdata *conn) bool pickproxy = FALSE; CURLcode code = CURLE_OK; + if(100 == conn->keep.httpcode) + /* this is a transient response code, ignore */ + return CURLE_OK; + if(data->state.authproblem) return data->set.http_fail_on_error?CURLE_HTTP_RETURNED_ERROR:CURLE_OK; |