mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Bugfix from Serge Semashko that fixes a bug introduced when we applied his
NTLM patch. Test case 84 and 85 verify this.
This commit is contained in:
parent
b933639222
commit
a3c1248214
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user