diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2022-10-12 12:12:08 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-11-08 10:06:12 +0100 |
commit | 1fdca35ddd9a28cfb43ee0571cf707c9844f4b6b (patch) | |
tree | dbe372336ec2ccdb39bb3cbf33b679960f73de05 /lib/url.c | |
parent | 3c16697ebd796f799227be293e8689aec5f8190d (diff) | |
download | curl-1fdca35ddd9a28cfb43ee0571cf707c9844f4b6b.tar.gz |
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
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 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 */ |