mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
The NTLM functions now take a 'proxy' argument as well.
This commit is contained in:
parent
6f2a4d290f
commit
fb731eb3e7
@ -33,7 +33,7 @@ typedef enum {
|
||||
} CURLntlm;
|
||||
|
||||
/* this is for ntlm header input */
|
||||
CURLntlm Curl_input_ntlm(struct connectdata *conn, char *header);
|
||||
CURLntlm Curl_input_ntlm(struct connectdata *conn, bool proxy, char *header);
|
||||
|
||||
/* this is for creating ntlm header output */
|
||||
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
|
||||
|
@ -754,7 +754,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
||||
if(data->state.authwant == CURLAUTH_NTLM) {
|
||||
/* NTLM authentication is activated */
|
||||
CURLntlm ntlm =
|
||||
Curl_input_ntlm(conn, start);
|
||||
Curl_input_ntlm(conn, FALSE, start);
|
||||
|
||||
if(CURLNTLM_BAD != ntlm)
|
||||
conn->newurl = strdup(data->change.url); /* clone string */
|
||||
|
Loading…
Reference in New Issue
Block a user