SSL_CTX_sess_number(3) OpenSSL SSL_CTX_sess_number(3) NNAAMMEE SSL_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 SSYYNNOOPPSSIISS #include 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); DDEESSCCRRIIPPTTIIOONN _S_S_L___C_T_X___s_e_s_s___n_u_m_b_e_r_(_) returns the current number of sessions in the internal session cache. _S_S_L___C_T_X___s_e_s_s___c_o_n_n_e_c_t_(_) returns the number of started SSL/TLS handshakes in client mode. _S_S_L___C_T_X___s_e_s_s___c_o_n_n_e_c_t___g_o_o_d_(_) returns the number of successfully estab- lished SSL/TLS sessions in client mode. _S_S_L___C_T_X___s_e_s_s___c_o_n_n_e_c_t___r_e_n_e_g_o_t_i_a_t_e_(_) returns the number of start renego- tiations in client mode. _S_S_L___C_T_X___s_e_s_s___a_c_c_e_p_t_(_) returns the number of started SSL/TLS handshakes in server mode. _S_S_L___C_T_X___s_e_s_s___a_c_c_e_p_t___g_o_o_d_(_) returns the number of successfully estab- lished SSL/TLS sessions in server mode. _S_S_L___C_T_X___s_e_s_s___a_c_c_e_p_t___r_e_n_e_g_o_t_i_a_t_e_(_) returns the number of start renegoti- ations in server mode. _S_S_L___C_T_X___s_e_s_s___h_i_t_s_(_) returns the number of successfully reused sessions. In client mode a session set with _S_S_L___s_e_t___s_e_s_s_i_o_n(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. _S_S_L___C_T_X___s_e_s_s___c_b___h_i_t_s_(_) returns the number of successfully retrieved sessions from the external session cache in server mode. _S_S_L___C_T_X___s_e_s_s___m_i_s_s_e_s_(_) returns the number of sessions proposed by clients that were not found in the internal session cache in server mode. _S_S_L___C_T_X___s_e_s_s___t_i_m_e_o_u_t_s_(_) 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 _S_S_L___C_T_X___s_e_s_s___h_i_t_s_(_) count. _S_S_L___C_T_X___s_e_s_s___c_a_c_h_e___f_u_l_l_(_) returns the number of sessions that were removed because the maximum session cache size was exceeded. RREETTUURRNN VVAALLUUEESS The functions return the values indicated in the DESCRIPTION section. SSEEEE AALLSSOO _s_s_l(3), _S_S_L___s_e_t___s_e_s_s_i_o_n(3), _S_S_L___C_T_X___s_e_t___s_e_s_s_i_o_n___c_a_c_h_e___m_o_d_e(3) _S_S_L___C_T_X___s_e_s_s___s_e_t___c_a_c_h_e___s_i_z_e(3) 1.0.1u 2016-09-22 SSL_CTX_sess_number(3)