gnutls: support CA caching

- similar to openssl, use a shared 'credentials' instance
  among TLS connections with a plain configuration.
- different to openssl, a connection with a client certificate
  is not eligible to sharing.
- document CURLOPT_CA_CACHE_TIMEOUT in man page

Closes #13795
This commit is contained in:
Stefan Eissing 2024-05-27 16:50:15 +02:00 committed by Daniel Stenberg
parent 4a7bb40dea
commit 5dd8f13bfc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 225 additions and 36 deletions

View file

@ -13,6 +13,7 @@ See-also:
Protocol:
- TLS
TLS-backend:
- GnuTLS
- OpenSSL
- Schannel
- wolfSSL
@ -78,7 +79,7 @@ int main(void)
This option was added in curl 7.87.0.
This option is supported by OpenSSL and its forks (since 7.87.0), Schannel
(since 8.5.0) and wolfSSL (since 8.9.0).
(since 8.5.0), wolfSSL (since 8.9.0) and GnuTLS (since 8.9.0).
# RETURN VALUE