cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cached SSL sessions?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 24 Oct 2003 06:35:17 +0200 (CEST)

On Thu, 23 Oct 2003, Justin Florentine wrote:

> Hiya folks. I was RTFM'ing and I saw that:
>
> "Even if the connection is dropped, all connections involving SSL to the
> same host again, will benefit from libcurl's session ID cache that drasticly
> reduces re-connection time."
>
> Does this mean that if I re-use the same easy-curl handle and always
> connect to the same host, I can avoid the overhead of the SSL handshake
> each time?

Yes, that is precisely how it works. The subsequent SSL reconnections are
much faster thanks to this.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
Received on 2003-10-24