mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
curl.h: add CURLOPT_CA_CACHE_TIMEOUT option
Adds a new option to control the maximum time that a cached certificate store may be retained for. Currently only the OpenSSL backend implements support for caching certificate stores. Closes #9620
This commit is contained in:
parent
3c16697ebd
commit
1fdca35ddd
10 changed files with 116 additions and 11 deletions
|
|
@ -539,6 +539,8 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data)
|
|||
|
||||
/* Set the default size of the SSL session ID cache */
|
||||
set->general_ssl.max_ssl_sessions = 5;
|
||||
/* Timeout every 24 hours by default */
|
||||
set->general_ssl.ca_cache_timeout = 24 * 60 * 60;
|
||||
|
||||
set->proxyport = 0;
|
||||
set->proxytype = CURLPROXY_HTTP; /* defaults to HTTP proxy */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue