cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLINFO_TLS_SESSION

From: Yousuke Kimoto <yousuke.kimoto_at_gmail.com>
Date: Wed, 29 Apr 2015 11:08:24 +0900

Hi all,

I'm interested in CURLINFO_TLS_SESSION. It seems that there is no issue to change the value from ctx (SSL_CTX) to handle (SSL).

By the way, could you explain the reason why did you write such code to return SSL_CTX if you have the detail?

> 2015/04/27 6:22、Daniel Stenberg <daniel_at_haxx.se> のメール:
>
> On Sun, 26 Apr 2015, Ray Satiro via curl-library wrote:
>
>> Although the type isn't documented you may have users who figured out it's a pointer to CTX on their own. It may be better to append a pointer to the structure and then document that as well.
>
> Yeah, that would be the safe approach but that also makes the struct ugly and usage of it more complicated and still version-dependent.
>
> Just out of curiosity, is there anyone reading this who use CURLINFO_TLS_SESSION ?
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-29