mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08: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;
|
char *request;
|
||||||
|
|
||||||
if(!data->state.authstage) {
|
if(!data->state.authstage) {
|
||||||
if(conn->bits.httpproxy)
|
if(conn->bits.httpproxy && conn->bits.proxy_user_passwd)
|
||||||
Curl_http_auth_stage(data, 407);
|
Curl_http_auth_stage(data, 407);
|
||||||
else
|
else
|
||||||
Curl_http_auth_stage(data, 401);
|
Curl_http_auth_stage(data, 401);
|
||||||
|
Loading…
Reference in New Issue
Block a user