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: Wed, 27 Apr 2016 11:06:19 +0300

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.

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