From 52129c0b0b55a556e19aea1b5f5e79d10f664a36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Fri, 17 Aug 2001 16:36:51 +0000 Subject: [PATCH] More details about session timeout settings. --- doc/ssl/SSL_CTX_set_timeout.pod | 8 ++++-- doc/ssl/SSL_SESSION_get_time.pod | 3 ++- doc/ssl/SSL_get_default_timeout.pod | 41 +++++++++++++++++++++++++++++ doc/ssl/ssl.pod | 1 + 4 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 doc/ssl/SSL_get_default_timeout.pod diff --git a/doc/ssl/SSL_CTX_set_timeout.pod b/doc/ssl/SSL_CTX_set_timeout.pod index 21faed12d4..e3de27c473 100644 --- a/doc/ssl/SSL_CTX_set_timeout.pod +++ b/doc/ssl/SSL_CTX_set_timeout.pod @@ -37,7 +37,10 @@ L is called, either directly by the application or automatically (see L) -The default value for session timeout is 300 seconds. +The default value for session timeout is decided on a per protocol +basis, see L. +All currently supported protocols have the same default timeout value +of 300 seconds. =head1 RETURN VALUES @@ -50,6 +53,7 @@ SSL_CTX_get_timeout() returns the currently set timeout value. L, L, L, -L +L, +L =cut diff --git a/doc/ssl/SSL_SESSION_get_time.pod b/doc/ssl/SSL_SESSION_get_time.pod index cd33b73aa3..ea3c2bcfe6 100644 --- a/doc/ssl/SSL_SESSION_get_time.pod +++ b/doc/ssl/SSL_SESSION_get_time.pod @@ -58,6 +58,7 @@ If any of the function is passed the NULL pointer for the session B, =head1 SEE ALSO L, -L +L, +L =cut diff --git a/doc/ssl/SSL_get_default_timeout.pod b/doc/ssl/SSL_get_default_timeout.pod new file mode 100644 index 0000000000..8d43b31345 --- /dev/null +++ b/doc/ssl/SSL_get_default_timeout.pod @@ -0,0 +1,41 @@ +=pod + +=head1 NAME + +SSL_get_default_timeout - get default session timeout value + +=head1 SYNOPSIS + + #include + + long SSL_get_default_timeout(SSL *ssl); + +=head1 DESCRIPTION + +SSL_get_default_timeout() returns the default timeout value assigned to +SSL_SESSION objects negotiated for the protocol valid for B. + +=head1 NOTES + +Whenever a new session is negotiated, it is assigned a timeout value, +after which it will not be accepted for session reuse. If the timeout +value was not explicitly set using +L, the hardcoded default +timeout for the protocol will be used. + +SSL_get_default_timeout() return this hardcoded value, which is 300 seconds +for all currently supported protocols (SSLv2, SSLv3, and TLSv1). + +=head1 RETURN VALUES + +See description. + +=head1 SEE ALSO + +L, +L, +L, +L, +L + +=cut diff --git a/doc/ssl/ssl.pod b/doc/ssl/ssl.pod index 2d43696129..6fc5f9050b 100644 --- a/doc/ssl/ssl.pod +++ b/doc/ssl/ssl.pod @@ -679,6 +679,7 @@ L, L, L, L, +L, L, L, L, -- 2.25.1