Method: OpenSSL::SSL::SSLContext#session_cache_size
- Defined in:
- ossl_ssl.c
#session_cache_size ⇒ Integer
Returns the current session cache size. Zero is used to represent an unlimited cache size.
1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'ossl_ssl.c', line 1436 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)); } |