On Monday, February 10, 2014 20:17:58 Arunav Sanyal wrote:
> Hi Daniel
> 
> All right then I have a proposal:-
> 
> Define a new Curl_easy_setopt option

Does it make sense to set the option per-handle if it acts globally?

> called CURLOPT_OPENSSL_THREADSAFETY
> REGISTRATION.and curl API user to set it to true or false depending on
> their requirement(by default it will be false)

Are we going to have also options CURLOPT_GNUTLS_THREADSAFETY, etc.?

IMHO, the option name should not be specific to a particular SSL backend.

We should also clearly document the meaning of such an option for SSL backends 
that are thread-safe without external locking (like NSS).

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to