On Thu, 17 Dec 2009, Pinakin Mevawala wrote:
But is it possible because of if post fails for some reason (may be if SSL is destroyed in some another thread as we have multithreaded CURL code where we have to do curl_global_init(ALL) and curl_glolbal_cleanup() each time in two threads. The other thread is doing GET only)?
curl_global_init() is documented not to be thread-safe. If you use it in more than one thread, you're on your own.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
