On Tue, Mar 22, 2011 at 19:13, ajil koshy <[email protected]> wrote:
> I am writing an HTTPS client application using libcurl compiled with
> OpenSSL. I had a question regarding behavior of Libcurl with respect to SSL
> session caching. It seems it is enabled by default. I would like to know if
> the cache still remains if we have closed the libcurl easy handle. Let's say
> I communicate with an HTTPS server. Do I have to keep the curl handle open
> given that I need connect to the same server as I did before? Thanks in
> advance.

Yes, you will have to keep it open. curl_easy_cleanup() destroys the
session cache, it's not a global resource.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to