curl-library
Re: libcurl: Hang/Crash due to CURLE_COULDNT_CONNECT (probably in curl_easy_cleanup)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Apr 2009 19:49:30 +0200 (CEST)
Date: Tue, 7 Apr 2009 19:49:30 +0200 (CEST)
On Tue, 7 Apr 2009, Sandeep Kale wrote:
> > Are you by any chance using libcurl multi-threaded without having the
> > OpenSSL mutex callbacks setup?
>
> Yes, We are using it in a multi-threaded way , however we are creating a
> separate curl handle and calling " curl = curl_easy_init(); " for every
> thread separately. We did not use OpenSSL mutex callbacks.
There's your problem. And solution.
-- / daniel.haxx.seReceived on 2009-04-07