cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can't get internals pointer on iOS

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 28 Apr 2016 03:05:53 -0400

On 4/27/2016 4:06 AM, Bru Rom wrote:
> I was in digest mode (but now i turn it off), so i am not sure where
> this mail is going to land.
>
> Daniel Stenberg:
> > Hopefully you can rebuild and use the newer version?
> Yes, i tried. No luck. Everything is the same.
>
> Ray Satiro:
> > Before you do anything else I'd correct all CURLOPTs so
> you're passing the right types and test again.
> Yes, i tried. All the same.
>
> > So is the problem that Apple maintains a per process TLS session cache
> and it is resuming the session?
> <...>
> > however maybe Apple has a separate
> layer?
> Yes, the problem is that Apple has a lot of layers in their networking
> and a lot of places where caching can occur.
>
> SOLUTION:
> I just have no time to fully dive into problem, so i recompiled
> everything with OpenSSL backend and now i'm happy!
> CURLOPT_SSL_SESSIONID_CACHE is doing it's job, everything is working now!
>
> But i should mention, that i still can't get internals pointer neither
> with CURLINFO_TLS_SSL_PTR nor CURLINFO_TLS_SESSION.
> Backend is CURLSSLBACKEND_OPENSSL, but internals is NULL.
>

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

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