diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-06-18 22:01:55 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-06-18 22:01:55 +0000 |
commit | e547bfa933b251263e73ac845c466196e0dec271 (patch) | |
tree | 60c5fa02688350e16b2515ac5f3c91c4baa50b98 /lib | |
parent | 36ddb13d1fe4d63b8025ebcbc0eeafcc18ac5a4a (diff) |
- 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nss.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |