cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl + openssl thread safety

From: Arunkumar Manickam <arun.ccjl_at_gmail.com>
Date: Thu, 7 Jul 2011 11:29:37 +0530

Hi,

We are using libcurl + openssl for doing HTTPs transactions in a multi
threaded environment.
It seems for openssl to function properly in a multi threaded application,
we need to set callbacks for a locking_function and a threadid_function ,
without which it may crash at random.

Is the application using libcurl responsible for setting these callbacks. It
would be nice if curl could take care of it.

Pls clarify.

Thanks,
Arun

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