curl-library
Re: curl v7.21.0 can reuse ssl session??
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 3 Dec 2010 13:40:25 +0100 (CET)
Date: Fri, 3 Dec 2010 13:40:25 +0100 (CET)
On Wed, 17 Nov 2010, л»Ô wrote:
> I develop https app with curl v7.21.0, it can work. But there is a problem
> found:visting a https server,the first is ok. then I vist the same server
> ,there is no session id in ssl package.
>
> can't reuse ssl session with curl v7.21.0???
Yes you can. libcurl will always attempt to re-use the connection primarily,
and the SSL session as a backup. Just make sure you re-use the same handle for
subsequent uses.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-03