cURL / Mailing Lists / curl-library / Single Mail


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

From: Pinakin Mevawala <>
Date: Thu, 17 Dec 2009 16:33:46 +0530

>curl_global_init() is documented not to be thread-safe. If you use it
in more than one thread, you're on your own.

What if we our self provide synchronization between two threads for all
the CURL code starting from curl_global_init(ALL) to
curl_global_cleanup(). Will that be ok or as per the documentation, we
should call curl_global_init only once.
List admin:
Received on 2009-12-17