curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Questions regarding curl_easy with SSL and multi threaded

From: Volker Schmid <volker.schmid_at_regify.com>
Date: Wed, 15 Mar 2017 12:23:23 +0100

Hello Daniel,

thanks for the detailed reply.

> > - I wonder about, how to deal with this if libcurl is not using OpenSSL (eg
> > on Windows using schannel and whatever libcurl is using on Linux or MacOS)?
>
> Only a subset of the TLS backends require mutex callbacks set. libcurl built
> with schannel for example doesn't need any.

Is there an easy way to find out during runtime? curl_easy_getinfo() or maybe curl_version()? I need to know if I'm currently using a libcurl version which is using OpenSSL or not to know if I have to use the mutex-thing or not. Not sure if CURLINFO_SSL_ENGINES is the right choice?

Thanks

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-15