Skip to content
Snippets Groups Projects
Commit d27813c2 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

*** empty log message ***

parent 453e9b0d
No related branches found
No related tags found
No related merge requests found
......@@ -768,8 +768,8 @@ CURLcode Curl_readwrite(struct connectdata *conn,
* are definitely errors, so give up here.
*/
if (data->set.http_fail_on_error && (k->httpcode >= 400) &&
((k->httpcode != 401) || !data->set.userpwd) &&
((k->httpcode != 407) || !data->set.proxyuserpwd) ) {
((k->httpcode != 401) || !conn->bits.user_passwd) &&
((k->httpcode != 407) || !conn->bits.proxy_user_passwd) ) {
if (data->reqdata.resume_from &&
(data->set.httpreq==HTTPREQ_GET) &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment