hello! 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).
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. My locking function is briefly called in SLL_load_error_strings(), but then never again. I have put a breakpoint on SSL_set_locking_callback to verify that no other component is calling it except my application code. I've also tried the dynlock stuff and duplicated the code from http://bit.ly/78LPFT (opensubscriber.org link), and it hasn't helped at all. Has anybody gotten this to work definitively and did you have to take any additional steps? (curl is definitely compiled with --enable-thread) Thanks! Marc.
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
