1=pod 2 3=head1 NAME 4 5SSL_CTX_set_timeout, SSL_CTX_get_timeout - manipulate timeout values for session caching 6 7=head1 SYNOPSIS 8 --- 23 unchanged lines hidden (view full) --- 32The expiration time of a single session can be modified using the 33L<SSL_SESSION_get_time(3)|SSL_SESSION_get_time(3)> family of functions. 34 35Expired sessions are removed from the internal session cache, whenever 36L<SSL_CTX_flush_sessions(3)|SSL_CTX_flush_sessions(3)> is called, either 37directly by the application or automatically (see 38L<SSL_CTX_set_session_cache_mode(3)|SSL_CTX_set_session_cache_mode(3)>) 39 |
40The default value for session timeout is decided on a per protocol 41basis, see L<SSL_get_default_timeout(3)|SSL_get_default_timeout(3)>. 42All currently supported protocols have the same default timeout value 43of 300 seconds. |
44 45=head1 RETURN VALUES 46 47SSL_CTX_set_timeout() returns the previously set timeout value. 48 49SSL_CTX_get_timeout() returns the currently set timeout value. 50 51=head1 SEE ALSO 52 53L<ssl(3)|ssl(3)>, 54L<SSL_CTX_set_session_cache_mode(3)|SSL_CTX_set_session_cache_mode(3)>, 55L<SSL_SESSION_get_time(3)|SSL_SESSION_get_time(3)>, |
56L<SSL_CTX_flush_sessions(3)|SSL_CTX_flush_sessions(3)>, 57L<SSL_get_default_timeout(3)|SSL_get_default_timeout(3)> |
58 59=cut |