cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FW: segfault in curl_formfree() in persistence run on RHEL5x86-64as 64 bit app

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 17 Dec 2009 10:16:24 +0100 (CET)

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
Received on 2009-12-17