cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL locks installed, never called, still crashing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Dec 2009 14:38:12 +0100 (CET)

On Wed, 2 Dec 2009, Marc Wandschneider wrote:

> I'm developing an app for the Mac that does multi-threaded curl_easy_perform
> calls to https servers. As I've learned, this leads to periodic crashing,
> and various searches have led me to subsequently install OpenSSL locks (as
> in threaded-ssl.c).

Is this on an older Mac OS version by any chance?

> However, the problem is these locks are never called and the application
> still crashes on various memory alloc/free calls in either curl_easy_perform
> or curl_easy_cleanup.

If the locks aren't called, it seems to be an OpenSSL issue since that's
entirelly up to OpenSSL to do.

> Has anybody gotten this to work definitively and did you have to take any
> additional steps?

Yes, many of us have done those things and it has just worked.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-02