Skip to content
Commit 25959e04 authored by Todd Short's avatar Todd Short Committed by Pauli
Browse files

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: default avatarMatt Caswell <matt@openssl.org>
Reviewed-by: default avatarPaul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8687)
parent de5a0198
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment