cURL / Mailing Lists / curl-library / Single Mail


libcurl crash at Curl_ossl_close function call

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


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

Received on 2009-02-17