SSL_get_default_timeout.pod revision 89837
189837Skris=pod 289837Skris 389837Skris=head1 NAME 489837Skris 589837SkrisSSL_get_default_timeout - get default session timeout value 689837Skris 789837Skris=head1 SYNOPSIS 889837Skris 989837Skris #include <openssl/ssl.h> 1089837Skris 1189837Skris long SSL_get_default_timeout(SSL *ssl); 1289837Skris 1389837Skris=head1 DESCRIPTION 1489837Skris 1589837SkrisSSL_get_default_timeout() returns the default timeout value assigned to 1689837SkrisSSL_SESSION objects negotiated for the protocol valid for B<ssl>. 1789837Skris 1889837Skris=head1 NOTES 1989837Skris 2089837SkrisWhenever a new session is negotiated, it is assigned a timeout value, 2189837Skrisafter which it will not be accepted for session reuse. If the timeout 2289837Skrisvalue was not explicitly set using 2389837SkrisL<SSL_CTX_set_timeout(3)|SSL_CTX_set_timeout(3)>, the hardcoded default 2489837Skristimeout for the protocol will be used. 2589837Skris 2689837SkrisSSL_get_default_timeout() return this hardcoded value, which is 300 seconds 2789837Skrisfor all currently supported protocols (SSLv2, SSLv3, and TLSv1). 2889837Skris 2989837Skris=head1 RETURN VALUES 3089837Skris 3189837SkrisSee description. 3289837Skris 3389837Skris=head1 SEE ALSO 3489837Skris 3589837SkrisL<ssl(3)|ssl(3)>, 3689837SkrisL<SSL_CTX_set_session_cache_mode(3)|SSL_CTX_set_session_cache_mode(3)>, 3789837SkrisL<SSL_SESSION_get_time(3)|SSL_SESSION_get_time(3)>, 3889837SkrisL<SSL_CTX_flush_sessions(3)|SSL_CTX_flush_sessions(3)>, 3989837SkrisL<SSL_get_default_timeout(3)|SSL_get_default_timeout(3)> 4089837Skris 4189837Skris=cut 42