cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can't get internals pointer on iOS

From: Bru Rom <sortir_at_gmail.com>
Date: Thu, 28 Apr 2016 10:32:17 +0300

> TLS_SESSION should return the in-use SSL pointer. When are you trying to
retrieve the pointer?

I try 4 combinations:
TLS_SESSION before culr_easy_perform
TLS_SESSION after culr_easy_perform
TLS_SSL_PTR before culr_easy_perform
TLS_SSL_PTR after culr_easy_perform

With code like:
const struct curl_tlssessioninfo *info;
curl_easy_getinfo(curl_handle, CURLINFO_TLS_SESSION, &info);

In all cases result is:
Printing description of info->backend:
(curl_sslbackend) backend = CURLSSLBACKEND_OPENSSL
Printing description of info->internals:
<nil>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-04-28