With David Byron's test server I could repeat his problem and make sure that
POSTing over HTTPS:// with NTLM works fine now. There was a general problem with multi-pass authentication with non-GET operations with CONNECT.
This commit is contained in:
Родитель
713effb6e4
Коммит
d4b577114b
|
@ -1076,7 +1076,7 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
|
||||||
else if(2 == sscanf(line_start, "HTTP/1.%d %d",
|
else if(2 == sscanf(line_start, "HTTP/1.%d %d",
|
||||||
&subversion,
|
&subversion,
|
||||||
&k->httpcode)) {
|
&k->httpcode)) {
|
||||||
/* store the HTTP code */
|
/* store the HTTP code from the proxy */
|
||||||
data->info.httpproxycode = k->httpcode;
|
data->info.httpproxycode = k->httpcode;
|
||||||
}
|
}
|
||||||
/* put back the letter we blanked out before */
|
/* put back the letter we blanked out before */
|
||||||
|
@ -1094,9 +1094,10 @@ CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
|
||||||
if(error)
|
if(error)
|
||||||
return CURLE_RECV_ERROR;
|
return CURLE_RECV_ERROR;
|
||||||
|
|
||||||
/* Deal with the possibly already received authenticate headers. 'newurl'
|
if(data->info.httpproxycode != 200)
|
||||||
is set to a new URL if we must loop. */
|
/* Deal with the possibly already received authenticate
|
||||||
Curl_http_auth_act(conn);
|
headers. 'newurl' is set to a new URL if we must loop. */
|
||||||
|
Curl_http_auth_act(conn);
|
||||||
|
|
||||||
} while(conn->newurl);
|
} while(conn->newurl);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче