cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL session sharing support added to curl_share_setopt()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Nov 2011 13:51:24 +0100 (CET)

On Thu, 24 Nov 2011, Alejandro Álvarez Ayllón wrote:

> I have come to realise that Curl_ssl_getsessionid is called twice per
> connection, once in ossl_connect_step1 and another in ossl_connect_step3.
> After instrumenting the code for debug builds:

...

> It seems to me that this happens with and without sharing. So the age always
> increment by two in every hit. I suppose this is not a big problem, though.

Exactly. We could possibly fix this by changing how the API works or
something, but I don't think the current approach is damaging in any way so we
can just leave it like this.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-28