diff options
author | Todd Short <tshort@akamai.com> | 2019-04-05 14:17:22 -0400 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-10 18:32:25 +1000 |
commit | 25959e04c350c2b82d545ea38b18ff714acf61ba (patch) | |
tree | 7fd75f13eee0b56bfccea99f18d78bcbe85ba4b8 /doc | |
parent | de5a0198b22c36884fd36021d9e4f589b939674f (diff) | |
download | openssl-new-25959e04c350c2b82d545ea38b18ff714acf61ba.tar.gz |
Optimize session cache flushing
Sort SSL_SESSION structures by timeout in the linked list.
Iterate over the linked list for timeout, stopping when no more
session can be flushed.
Do SSL_SESSION_free() outside of SSL_CTX lock
Update timeout upon use
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8687)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/SSL_CTX_set_session_cache_mode.pod | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/man3/SSL_CTX_set_session_cache_mode.pod b/doc/man3/SSL_CTX_set_session_cache_mode.pod index 26febc6986..a698ffde5d 100644 --- a/doc/man3/SSL_CTX_set_session_cache_mode.pod +++ b/doc/man3/SSL_CTX_set_session_cache_mode.pod @@ -105,6 +105,11 @@ prevents these additions to the internal cache as well. Enable both SSL_SESS_CACHE_NO_INTERNAL_LOOKUP and SSL_SESS_CACHE_NO_INTERNAL_STORE at the same time. +=item SSL_SESS_CACHE_UPDATE_TIME + +Updates the timestamp of the session when it is used, increasing the lifespan +of the session. The session timeout applies to last use, rather then creation +time. =back |