Re: curl not thread-safe
Date: Tue, 7 Jan 2020 16:55:07 +0100
On 1/7/20 2:14 PM, Daniel Stenberg via curl-library wrote:
> On Tue, 7 Jan 2020, Thierry HUCAHRD wrote:
>
>> If I use libcurl with GnuTLS I am thread-safe, even in a plugin?
>
> It depends.
>
> If you use GnuTLS from before 3.3.0, gnutls_global_init() needs to be
> called by libcurl at init time and that function is documented to not be
> thread safe.
>
> For GnuTLS 3.3.0 and later I *suspect* it inits itself in a thread-safe
> manner. Their docs isn't very clear on this subject:
> https://gnutls.org/manual/html_node/Initialization.html#Initialization
Created https://gitlab.com/gnutls/gnutls/issues/900 :-)
Regards, Tim
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
- application/pgp-signature attachment: OpenPGP digital signature