mirror of
https://github.com/curl/curl.git
synced 2026-06-02 03:34:15 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue