mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:13:35 +03:00
- 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
This commit is contained in:
parent
36ddb13d1f
commit
e547bfa933
3 changed files with 12 additions and 1 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue