← Commit list

43029e2ec3

Stefan Eissing
Stefan Eissing
2026-09-09
SUCCESS Duration: 396s

Subject

url: ntlm/negotiate, prohibit connection reuse on follows

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/url.c+4 -2
@@ -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 &&