From e547bfa933b251263e73ac845c466196e0dec271 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 18 Jun 2008 22:01:55 +0000 Subject: - Rob Crittenden brought a fix for the NSS layer that makes libcurl no longer always fire up a new connection rather than using the existing one when the multi interface is used. Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=450140 --- lib/nss.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/nss.c b/lib/nss.c index cd52af156..39c716228 100644 --- a/lib/nss.c +++ b/lib/nss.c @@ -925,6 +925,9 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex) 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; -- cgit v1.2.3