cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: [PATCH] SSL_CTX caching

From: Shmulik Regev <shmulbox_at_gmail.com>
Date: Thu, 8 Mar 2007 17:41:48 +0200

>> A new share lock option was added - CURL_LOCK_DATA_SSL_CTX and a
>> new share option CURLSHOPT_SSL_CTX_MAX was added to control the
>> number of cached SSL_CTX objects (the default is 3).
>
> Sorry that I'm arguing here without having any real ideas about SSL,
> but why can't we use the already existing--not
> implemented--CURL_LOCK_DATA_SSL_SESSION here?

Well, I assume it was added for a reason and I assume it refers to sharing
of SSL sessions which is not the same as sharing of SSL_CTX objects (I can
go into details but I assume the use of SSL session caching is known, if not
I'll be happy to elaborate). What I've added enables the user to reuse
additional openssl specific resources (such as the certificate store among
others) that are bound to the SSL_CTX object.

Cheers,
Shmul
Received on 2007-03-08

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET