curl-library
Re: CURLINFO_TLS_SESSION with OPENSSL returns SSL_CTX instead of SSL
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Oct 2015 15:10:28 +0200 (CEST)
Date: Wed, 7 Oct 2015 15:10:28 +0200 (CEST)
On Wed, 7 Oct 2015, Rich Gray wrote:
> For what it's worth, CURLINFO_TLS_SSL_PTR seems more meaningful to me than
> CURLINFO_TLS_SESSION_V2. For maximum clarity, maybe CURLINFO_TLS_CTX_PTR
> could be added as an alias for CURLINFO_TLS_SESSION and the later
> "depreciated".
I'm with Rich here.
We need to consider the long term and "v2" will not age well so ten years down
the line this will leave people wondering about the v1. I prefer a clear name
that can stand on its own, which makes CURLINFO_TLS_SSL_PTR better in my eyes.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-10-07