rpms/curl/devel curl-7.18.2-nssproxy.patch, NONE, 1.1 curl.spec, 1.76, 1.77

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Wed Jun 18 06:08:57 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/curl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14345

Modified Files:
	curl.spec 
Added Files:
	curl-7.18.2-nssproxy.patch 
Log Message:
* Wed Jun 18 2008 Jindrich Novy <jnovy at redhat.com> 7.18.2-2
- fix curl_multi_perform() over a proxy (#450140), thanks to
  Rob Crittenden


curl-7.18.2-nssproxy.patch:

--- NEW FILE curl-7.18.2-nssproxy.patch ---
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;


Index: curl.spec
===================================================================
RCS file: /cvs/extras/rpms/curl/devel/curl.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- curl.spec	4 Jun 2008 17:30:58 -0000	1.76
+++ curl.spec	18 Jun 2008 06:08:03 -0000	1.77
@@ -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 @@
 %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 @@
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Wed Jun 18 2008 Jindrich Novy <jnovy at 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 at redhat.com> 7.18.2-1
 - update to 7.18.2
 




More information about the fedora-extras-commits mailing list