NTLM: use HTTP/1.0 instead of HTTP/1.1 for compatibility

Resolves: RHEL-171912
This commit is contained in:
Jacek Migacz 2026-05-06 08:37:33 +00:00
parent ec7cc6fa07
commit 75d7c367b8
2 changed files with 7 additions and 4 deletions

View File

@ -30,9 +30,9 @@ index aed7aa80f..7be6f8b92 100644
data->state.authproblem = TRUE;
+ if(data->state.authhost.picked == CURLAUTH_NTLM &&
+ conn->httpversion > 11) {
+ infof(data, "Forcing HTTP/1.1 for NTLM");
+ connclose(conn, "Force HTTP/1.1 connection");
+ conn->data->set.httpversion = CURL_HTTP_VERSION_1_1;
+ infof(data, "Forcing HTTP/1.x for NTLM");
+ connclose(conn, "Force HTTP/1.x connection");
+ conn->data->set.httpversion = CURL_HTTP_VERSION_1_0;
+ }
}
if(conn->bits.proxy_user_passwd &&

View File

@ -1,7 +1,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.61.1
Release: 34%{?dist}.11
Release: 34%{?dist}.12
License: MIT
Source: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
@ -611,6 +611,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog
* Tue May 06 2026 Jacek Migacz <jmigacz@redhat.com> - 7.61.1-34.el8_10.12
- NTLM: use HTTP/1.0 instead of HTTP/1.1 for compatibility (RHEL-171912)
* Tue Jan 13 2026 Jacek Migacz <jmigacz@redhat.com> - 7.61.1-34.el8_10.11
- noproxy: support proxies specified using cidr notation (RHEL-86910)
- disable test1456 (requires test framework features not in 7.61.1)