1
0
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:
Daniel Stenberg 2003-08-12 08:20:16 +00:00
parent b933639222
commit a3c1248214

View File

@ -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);