cURL / Mailing Lists / curl-library / Single Mail

curl-library

libcurl crash at Curl_ossl_close function call

From: Sandeep Kale <sandeep.skale_at_patni.com>
Date: Tue, 17 Feb 2009 19:57:12 +0530

Hi,

Thanks for a prompt response.

1. I'll try to upgrade open ssl.

-- Are you by any chance using this in a multi-threded way and forgot to
setup the OpenSSL mutex callbacks?

Yes. The program is working in a multi-threaded way and have not used
OpenSSL mutex callbacks.

One Question: I have made sure that every connection is specific to a thread
and even curl handle is not shared across threads. Shouldn't this help in
avoiding use of SSL in multi-threaded way?

It will be great if I get a sample which shows how to use OpenSSL mutex
callbacks.

San.
Received on 2009-02-17