openssl/ssl
Todd Short 25959e04c3 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)
2021-06-10 18:32:25 +10:00
..
record tls: remove TODOs 2021-06-02 16:30:15 +10:00
statem Optimize session cache flushing 2021-06-10 18:32:25 +10:00
bio_ssl.c
build.info tls: remove TODOs 2021-06-02 16:30:15 +10:00
d1_lib.c Only call dtls1_start_timer() once 2021-06-04 11:06:08 +10:00
d1_msg.c
d1_srtp.c
ktls.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
methods.c
pqueue.c
s3_cbc.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
s3_enc.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
s3_lib.c ssl: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
s3_msg.c Update copyright year 2021-05-20 14:22:33 +01:00
ssl_asn1.c Optimize session cache flushing 2021-06-10 18:32:25 +10:00
ssl_cert_table.h
ssl_cert.c
ssl_ciph.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
ssl_conf.c Add SSL_OP_ALLOW_CLIENT_RENEGOTIATION 2021-05-17 10:53:30 +02:00
ssl_err_legacy.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ssl_err.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ssl_init.c err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
ssl_lib.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
ssl_local.h Optimize session cache flushing 2021-06-10 18:32:25 +10:00
ssl_mcnf.c
ssl_rsa_legacy.c
ssl_rsa.c
ssl_sess.c Optimize session cache flushing 2021-06-10 18:32:25 +10:00
ssl_stat.c
ssl_txt.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
ssl_utst.c
sslerr.h err: rename err_load_xxx_strings_int functions 2021-05-26 13:01:47 +10:00
t1_enc.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
t1_lib.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
t1_trce.c
tls13_enc.c tls: remove TODOs 2021-06-02 16:30:15 +10:00
tls_depr.c
tls_srp.c ssl: add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00