public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: Resolves: #1485702 - apply the patch for the previous commit and fix its name
@ 2026-11-03 12:36 Kamil Dudka
0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:36 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : b2dab7f315d2e72b3599ba0abaf63c8b920e8b2f
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2017-08-28T13:40:42+02:00
Stats : +48/-43 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/b2dab7f315d2e72b3599ba0abaf63c8b920e8b2f?branch=curl-v8.23.0-3
Log:
Resolves: #1485702 - apply the patch for the previous commit and fix its name
---
diff --git a/0001-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch b/0001-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch
deleted file mode 100644
index cea69b8..0000000
--- a/0001-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 74dac344b2feb2e0f4baddb70532dc8e45d2d817 Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
-Date: Fri, 18 Aug 2017 10:43:02 +0200
-Subject: [PATCH] http: Don't wait on CONNECT when there is no proxy
-
-Since curl 7.55.0, NetworkManager almost always failed its connectivity
-check by timeout. I bisected this to 5113ad04 (http-proxy: do the HTTP
-CONNECT process entirely non-blocking).
-
-This patch replaces !Curl_connect_complete with Curl_connect_ongoing,
-which returns false if the CONNECT state was left uninitialized and lets
-the connection continue.
-
-Closes #1803
-Fixes #1804
-
-Also-fixed-by: Gergely Nagy
----
- lib/http.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/http.c b/lib/http.c
-index 35c7c3d43..3e3313278 100644
---- a/lib/http.c
-+++ b/lib/http.c
-@@ -1371,7 +1371,7 @@ CURLcode Curl_http_connect(struct connectdata *conn, bool *done)
- if(CONNECT_FIRSTSOCKET_PROXY_SSL())
- return CURLE_OK; /* wait for HTTPS proxy SSL initialization to complete */
-
-- if(!Curl_connect_complete(conn))
-+ if(Curl_connect_ongoing(conn))
- /* nothing else to do except wait right now - we're not done here. */
- return CURLE_OK;
-
---
-2.13.5
-
diff --git a/0002-curl-7.55.1-proxy-connect.patch b/0002-curl-7.55.1-proxy-connect.patch
new file mode 100644
index 0000000..a87e787
--- /dev/null
+++ b/0002-curl-7.55.1-proxy-connect.patch
@@ -0,0 +1,40 @@
+From 74dac344b2feb2e0f4baddb70532dc8e45d2d817 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
+Date: Fri, 18 Aug 2017 10:43:02 +0200
+Subject: [PATCH] http: Don't wait on CONNECT when there is no proxy
+
+Since curl 7.55.0, NetworkManager almost always failed its connectivity
+check by timeout. I bisected this to 5113ad04 (http-proxy: do the HTTP
+CONNECT process entirely non-blocking).
+
+This patch replaces !Curl_connect_complete with Curl_connect_ongoing,
+which returns false if the CONNECT state was left uninitialized and lets
+the connection continue.
+
+Closes #1803
+Fixes #1804
+
+Also-fixed-by: Gergely Nagy
+
+Upstream-commit: 74dac344b2feb2e0f4baddb70532dc8e45d2d817
+Signed-off-by: Kamil Dudka <kdudka@redhat.com>
+---
+ lib/http.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/http.c b/lib/http.c
+index 35c7c3d43..3e3313278 100644
+--- a/lib/http.c
++++ b/lib/http.c
+@@ -1371,7 +1371,7 @@ CURLcode Curl_http_connect(struct connectdata *conn, bool *done)
+ if(CONNECT_FIRSTSOCKET_PROXY_SSL())
+ return CURLE_OK; /* wait for HTTPS proxy SSL initialization to complete */
+
+- if(!Curl_connect_complete(conn))
++ if(Curl_connect_ongoing(conn))
+ /* nothing else to do except wait right now - we're not done here. */
+ return CURLE_OK;
+
+--
+2.13.5
+
diff --git a/curl.spec b/curl.spec
index bf2ea93..23682db 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,18 +1,17 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.55.1
-Release: 4%{?dist}
+Release: 5%{?dist}
License: MIT
Group: Applications/Internet
Source: https://curl.haxx.se/download/%{name}-%{version}.tar.xz
-# https://github.com/curl/curl/pull/1803
-# https://bugzilla.redhat.com/show_bug.cgi?id=1485702
-Patch0: 0001-http-Don-t-wait-on-CONNECT-when-there-is-no-proxy.patch
-
# make zsh completion work again
Patch1: 0001-curl-7.55.1-zsh-completion.patch
+# http: Don't wait on CONNECT when there is no proxy (#1485702)
+Patch2: 0002-curl-7.55.1-proxy-connect.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -160,6 +159,7 @@ be installed.
# upstream patches
%patch1 -p1
+%patch2 -p1
# Fedora patches
%patch101 -p1
@@ -314,8 +314,10 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
%{_libdir}/libcurl.so.[0-9].[0-9].[0-9].minimal
%changelog
+* Mon Aug 28 2017 Kamil Dudka <kdudka@redhat.com> - 7.55.1-5
+- apply the patch for the previous commit and fix its name (#1485702)
+
* Mon Aug 28 2017 Bastien Nocera <bnocera@redhat.com> - 7.55.1-4
-+ curl-7.55.1-4
- Fix NetworkManager connectivity check not working (#1485702)
* Tue Aug 22 2017 Kamil Dudka <kdudka@redhat.com> 7.55.1-3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 12:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:36 [rpms/curl] curl-v8.23.0-3: Resolves: #1485702 - apply the patch for the previous commit and fix its name Kamil Dudka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox