url: ntlm/negotiate, prohibit connection reuse on follows
No binary (build failed)
—
(log yok)
| @@ -1139,7 +1139,8 @@ static bool url_attach_existing(struct Curl_easy *data, | |
| #ifdef USE_NTLM | |
| match.want_ntlm_http = | |
| (data->state.authhost.want & CURLAUTH_NTLM) && | |
| - | (needle->scheme->protocol & PROTO_FAMILY_HTTP); |
| + | (needle->scheme->protocol & PROTO_FAMILY_HTTP) && |
| + | Curl_auth_allowed_to_host(data); |
| #ifndef CURL_DISABLE_PROXY | |
| match.want_proxy_ntlm_http = | |
| needle->http_proxy.creds && | |
| @@ -1151,7 +1152,8 @@ static bool url_attach_existing(struct Curl_easy *data, | |
| #if !defined(CURL_DISABLE_HTTP) && defined(USE_SPNEGO) | |
| match.want_nego_http = | |
| (data->state.authhost.want & CURLAUTH_NEGOTIATE) && | |
| - | (needle->scheme->protocol & PROTO_FAMILY_HTTP); |
| + | (needle->scheme->protocol & PROTO_FAMILY_HTTP) && |
| + | Curl_auth_allowed_to_host(data); |
| #ifndef CURL_DISABLE_PROXY | |
| match.want_proxy_nego_http = | |
| needle->http_proxy.creds && | |