Re: SSL session cache for all easy handles in a multi handle

2015-07-10 Thread Daniel Stenberg

On Tue, 7 Jul 2015, Michael Kaufmann wrote:

Multi handles also provide a connection cache, but they do not provide an 
SSL session cache. Is this on purpose (security), or is this just not 
implemented yet?


The latter. I can't see any reason why sharing the sessions would be a 
problem.


--

 / daniel.haxx.se
---
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

SSL session cache for all easy handles in a multi handle

2015-07-07 Thread Michael Kaufmann

Hi,

From the documentation of curl_share_setopt:

Cached DNS hosts will be shared across the easy handles using this  
shared object. Note that when you use the multi interface, all easy  
handles added to the same multi handle will share DNS cache by  
default without this having to be used!


Multi handles also provide a connection cache, but they do not provide  
an SSL session cache. Is this on purpose (security), or is this just  
not implemented yet?


Regards,
Michael

---
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html