public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: fix duplicated SSL handshake with multi interface and proxy (#788526)
Date: Tue, 03 Nov 2026 12:34:48 GMT [thread overview]
Message-ID: <179370928812.1.5871731403456723295.rpms-curl-e6d221c6039a@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : e6d221c6039a24f4c30572947cdf2d7970733935
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2012-06-09T12:52:25+02:00
Stats : +50/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/e6d221c6039a24f4c30572947cdf2d7970733935?branch=curl-v8.23.0-3
Log:
fix duplicated SSL handshake with multi interface and proxy (#788526)
---
diff --git a/0002-curl-7.26.0-68857e40.patch b/0002-curl-7.26.0-68857e40.patch
new file mode 100644
index 0000000..faaf9c8
--- /dev/null
+++ b/0002-curl-7.26.0-68857e40.patch
@@ -0,0 +1,42 @@
+From 68857e40d69ef792bfcc6d7395c65305a4117c51 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka@redhat.com>
+Date: Fri, 8 Jun 2012 23:02:57 +0200
+Subject: [PATCH] ssl: fix duplicated SSL handshake with multi interface and proxy
+
+Bug: https://bugzilla.redhat.com/788526
+Reported by: Enrico Scholz
+---
+ lib/sslgen.c | 10 +++++-----
+ 1 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/lib/sslgen.c b/lib/sslgen.c
+index a77fd78..14649a9 100644
+--- a/lib/sslgen.c
++++ b/lib/sslgen.c
+@@ -211,18 +211,18 @@ CURLcode
+ Curl_ssl_connect_nonblocking(struct connectdata *conn, int sockindex,
+ bool *done)
+ {
+-#ifdef curlssl_connect_nonblocking
+ CURLcode res;
+ /* mark this is being ssl requested from here on. */
+ conn->ssl[sockindex].use = TRUE;
++#ifdef curlssl_connect_nonblocking
+ res = curlssl_connect_nonblocking(conn, sockindex, done);
+- if(!res && *done)
+- Curl_pgrsTime(conn->data, TIMER_APPCONNECT); /* SSL is connected */
+- return res;
+ #else
+ *done = TRUE; /* fallback to BLOCKING */
+- return Curl_ssl_connect(conn, sockindex);
++ res = curlssl_connect(conn, sockindex);
+ #endif /* non-blocking connect support */
++ if(!res && *done)
++ Curl_pgrsTime(conn->data, TIMER_APPCONNECT); /* SSL is connected */
++ return res;
+ }
+
+ /*
+--
+1.7.1
+
diff --git a/curl.spec b/curl.spec
index 31d6b5e..9ba2adf 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 7.26.0
-Release: 3%{?dist}
+Release: 4%{?dist}
License: MIT
Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -11,6 +11,9 @@ Source3: hide_selinux.c
# use human-readable error messages provided by NSS
Patch1: 0001-curl-7.26.0-72f4b534.patch
+# fix duplicated SSL handshake with multi interface and proxy (#788526)
+Patch2: 0002-curl-7.26.0-68857e40.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.25.0-multilib.patch
@@ -111,6 +114,7 @@ documentation of the library, too.
# upstream patches
%patch1 -p1
+%patch2 -p1
# Fedora patches
%patch101 -p1
@@ -233,6 +237,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
+* Sat Jun 09 2012 Kamil Dudka <kdudka@redhat.com> 7.26.0-4
+- fix duplicated SSL handshake with multi interface and proxy (#788526)
+
* Wed May 30 2012 Karsten Hopp <karsten@redhat.com> 7.26.0-3
- disable test 1319 on ppc64, server times out
reply other threads:[~2026-11-03 12:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179370928812.1.5871731403456723295.rpms-curl-e6d221c6039a@fedoraproject.org \
--to=kdudka@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox