instance method
OpenSSL::SSL::SSLContext#session_cache_size
() -> ::Integer
ctx.session_cache_size → Integer
ext/openssl/ossl_ssl.c
View on GitHub ↗
static VALUE
ossl_sslctx_get_session_cache_size(VALUE self)
{
SSL_CTX *ctx;
GetSSLCTX(self, ctx);
return LONG2NUM(SSL_CTX_sess_get_cache_size(ctx));
}
Returns the current session cache size. Zero is used to represent an unlimited cache size.
See also
#session_cache_size=
#session_cache_mode=
#session_cache_mode
#session_cache_stats
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0