cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: double free or corruption error on post with libcurl

From: Jeremy Brown <jbrown_at_novell.com>
Date: Wed, 04 May 2005 15:08:12 -0600

Daniel,
 
I spoke too soon. It ran a couple times then returned back to having error.
 
I will give the openssl information a try and let you know how it works out. BTW Great list to have such quick responses.
 
Thanks
jeremy

>>>daniel-curl_at_haxx.se 05/04/05 12:07 pm >>>
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