cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: double free or corruption error on post with libcurl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 4 May 2005 20:07:13 +0200 (CEST)

On Wed, 4 May 2005, Jeremy Brown wrote:

> I am receiving an error in my c program when I reach 10 threads

You need to set two OpenSSL callback functions to be able to use
SSL-related connections multi-threaded:

   http://www.openssl.org/docs/crypto/threads.html

I'm personally not too happy to force applications to have to deal with
OpenSSL directly since libcurl does a good job at hiding that dependency in
all other aspects, and with the upcoming GnuTLS support it'll be even
uglier...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-04