SSL_CTX_SESS_NUMBER - Online Linux Manual PageSection : 3
Updated : 2021-03-26
Source : 1.1.1k
Note : OpenSSL

NAMESSL_CTX_sess_number, SSL_CTX_sess_connect, SSL_CTX_sess_connect_good, SSL_CTX_sess_connect_renegotiate, SSL_CTX_sess_accept, SSL_CTX_sess_accept_good, SSL_CTX_sess_accept_renegotiate, SSL_CTX_sess_hits, SSL_CTX_sess_cb_hits, SSL_CTX_sess_misses, SSL_CTX_sess_timeouts, SSL_CTX_sess_cache_full − obtain session cache statistics

SYNOPSIS​ #include <openssl/ssl.h> ​ ​ long SSL_CTX_sess_number(SSL_CTX *ctx); ​ long SSL_CTX_sess_connect(SSL_CTX *ctx); ​ long SSL_CTX_sess_connect_good(SSL_CTX *ctx); ​ long SSL_CTX_sess_connect_renegotiate(SSL_CTX *ctx); ​ long SSL_CTX_sess_accept(SSL_CTX *ctx); ​ long SSL_CTX_sess_accept_good(SSL_CTX *ctx); ​ long SSL_CTX_sess_accept_renegotiate(SSL_CTX *ctx); ​ long SSL_CTX_sess_hits(SSL_CTX *ctx); ​ long SSL_CTX_sess_cb_hits(SSL_CTX *ctx); ​ long SSL_CTX_sess_misses(SSL_CTX *ctx); ​ long SSL_CTX_sess_timeouts(SSL_CTX *ctx); ​ long SSL_CTX_sess_cache_full(SSL_CTX *ctx);

DESCRIPTIONSSL_CTX_sess_number() returns the current number of sessions in the internal session cache. SSL_CTX_sess_connect() returns the number of started SSL/TLS handshakes in client mode. SSL_CTX_sess_connect_good() returns the number of successfully established ​SSL/TLS sessions in client mode. SSL_CTX_sess_connect_renegotiate() returns the number of started renegotiations in client mode. SSL_CTX_sess_accept() returns the number of started SSL/TLS handshakes in server mode. SSL_CTX_sess_accept_good() returns the number of successfully established ​SSL/TLS sessions in server mode. SSL_CTX_sess_accept_renegotiate() returns the number of started renegotiations in server mode. SSL_CTX_sess_hits() returns the number of successfully reused sessions. In client mode a session set with SSL_set_session(3) successfully reused is counted as a hit. In server mode a session successfully retrieved from internal or external cache is counted as a hit. SSL_CTX_sess_cb_hits() returns the number of successfully retrieved sessions from the external session cache in server mode. SSL_CTX_sess_misses() returns the number of sessions proposed by clients that were not found in the internal session cache in server mode. SSL_CTX_sess_timeouts() returns the number of sessions proposed by clients and either found in the internal or external session cache in server mode,
 but that were invalid due to timeout. These sessions are not included in the
SSL_CTX_sess_hits() count.
SSL_CTX_sess_cache_full() returns the number of sessions that were removed because the maximum session cache size was exceeded.

RETURN VALUESThe functions return the values indicated in the DESCRIPTION section.

SEE ALSOssl(7), SSL_set_session(3), ​SSL_CTX_set_session_cache_mode(3)SSL_CTX_sess_set_cache_size(3)

COPYRIGHTCopyright 2001−2016 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the License). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
0
Johanes Gumabo
Data Size   :   10,090 byte
man-SSL_CTX_sess_timeouts.3sslBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 171,020
Visitor ID   :     :  
Visitor IP   :   18.116.37.200   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|S___SL_CTX_sess_accept.3ssl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|S___SL_CTX_sess_accept.3ssl|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|S___SL_CTX_sess_accept.3ssl|43|br══─}─══|'br══─}─══ )         (htmlprn|149|S___SL_CTX_sess_accept.3ssl|43|'br══─}─══ |'br══─}─══ )