diff options
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 90dc5a63b..e95b40fd9 100644 --- a/lib/http.c +++ b/lib/http.c @@ -731,7 +731,7 @@ CURLcode Curl_http(struct connectdata *conn) char *request; if(!data->state.authstage) { - if(conn->bits.httpproxy) + if(conn->bits.httpproxy && conn->bits.proxy_user_passwd) Curl_http_auth_stage(data, 407); else Curl_http_auth_stage(data, 401); |