Using libcurl in a multithreaded app
Date: Thu, 08 Jun 2006 11:21:24 -0400
-----BEGIN PGP SIGNED MESSAGE-----
I am writing a multithreaded app that uses libcurl to download from
various links. Each thread in the app downloads a link using its
own libcurl functions (i.e. curl_easy_init(), curl_easy_setopt(),
curl_easy_perform() and curl_easy_cleanup()).
My question: Can I globally set the curl options or do I have to go
through the procedure of setting the curl options for each thread
that calls curl_easy_perform()? I am experiencing intermittent
crashes due to malloc problems (all of my mallocs are checked) and
I am trying to optimize the app in any way possible.
Any advice would be apprectiated.
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5
-----END PGP SIGNATURE-----
Received on 2006-06-08