curl_version_info: add CURL_VERSION_THREADSAFE_INIT

This flag can be used to make sure that curl_global_init() is
thread-safe.

This can be useful for libraries that can't control what other
dependencies are doing with Curl.

Closes #8680
This commit is contained in:
Thomas Guillem 2022-04-05 16:00:37 +02:00 committed by Daniel Stenberg
parent 23af112f55
commit 2ed1012564
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 141 additions and 4 deletions

View file

@ -110,6 +110,7 @@ static const struct feat feats[] = {
{"alt-svc", CURL_VERSION_ALTSVC},
{"HSTS", CURL_VERSION_HSTS},
{"gsasl", CURL_VERSION_GSASL},
{"threadsafe-init",CURL_VERSION_THREADSAFE_INIT},
};
static void print_category(curlhelp_t category)