public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: - fix curl_multi_perform() over a proxy (#450140), thanks to Rob Crittenden
@ 2026-11-03 12:32 Jindrich Novy
  0 siblings, 0 replies; only message in thread
From: Jindrich Novy @ 2026-11-03 12:32 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : bf70a545502bf070eebc68d350f921a5267540b6
Author : Jindrich Novy <jnovy@fedoraproject.org>
Date   : 2008-06-18T06:08:03+00:00
Stats  : +20/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/bf70a545502bf070eebc68d350f921a5267540b6?branch=curl-v8.23.0-3

Log:
- fix curl_multi_perform() over a proxy (#450140), thanks to Rob Crittenden

---
diff --git a/curl-7.18.2-nssproxy.patch b/curl-7.18.2-nssproxy.patch
new file mode 100644
index 0000000..9d88d02
--- /dev/null
+++ b/curl-7.18.2-nssproxy.patch
@@ -0,0 +1,13 @@
+diff -up curl-7.18.2/lib/nss.c.nssproxy curl-7.18.2/lib/nss.c
+--- curl-7.18.2/lib/nss.c.nssproxy	2008-05-26 17:02:49.000000000 +0200
++++ curl-7.18.2/lib/nss.c	2008-06-18 07:59:52.000000000 +0200
+@@ -804,6 +804,9 @@ CURLcode Curl_nss_connect(struct connect
+ 
+   curlerr = CURLE_SSL_CONNECT_ERROR;
+ 
++  if (connssl->state == ssl_connection_complete)
++    return CURLE_OK;
++
+   /* FIXME. NSS doesn't support multiple databases open at the same time. */
+   if(!initialized) {
+     initialized = 1;

diff --git a/curl.spec b/curl.spec
index bb48c80..93424a5 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,13 +1,14 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.18.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
 Patch1: curl-7.15.3-multilib.patch
 Patch2: curl-7.16.0-privlibs.patch
 Patch3: curl-7.17.1-badsocket.patch
+Patch4: curl-7.18.2-nssproxy.patch
 Provides: webclient
 URL: http://curl.haxx.se/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -48,6 +49,7 @@ use cURL's capabilities internally.
 %patch1 -p1 -b .multilib
 %patch2 -p1 -b .privlibs
 %patch3 -p1 -b .badsocket
+%patch4 -p1 -b .nssproxy
 
 # Convert docs to UTF-8
 for f in CHANGES README; do
@@ -115,6 +117,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Wed Jun 18 2008 Jindrich Novy <jnovy@redhat.com> 7.18.2-2
+- fix curl_multi_perform() over a proxy (#450140), thanks to
+  Rob Crittenden
+
 * Wed Jun  4 2008 Jindrich Novy <jnovy@redhat.com> 7.18.2-1
 - update to 7.18.2
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 12:32 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:32 [rpms/curl] curl-v8.23.0-3: - fix curl_multi_perform() over a proxy (#450140), thanks to Rob Crittenden Jindrich Novy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox