1SSL_GET_DEFAULT_TIMEOUT(3)          OpenSSL         SSL_GET_DEFAULT_TIMEOUT(3)
2
3
4

NAME

6       SSL_get_default_timeout - get default session timeout value
7

SYNOPSIS

9        #include <openssl/ssl.h>
10
11        long SSL_get_default_timeout(const SSL *ssl);
12

DESCRIPTION

14       SSL_get_default_timeout() returns the default timeout value assigned to
15       SSL_SESSION objects negotiated for the protocol valid for ssl.
16

NOTES

18       Whenever a new session is negotiated, it is assigned a timeout value,
19       after which it will not be accepted for session reuse. If the timeout
20       value was not explicitly set using SSL_CTX_set_timeout(3), the
21       hardcoded default timeout for the protocol will be used.
22
23       SSL_get_default_timeout() return this hardcoded value, which is 300
24       seconds for all currently supported protocols.
25

RETURN VALUES

27       See description.
28

SEE ALSO

30       ssl(7), SSL_CTX_set_session_cache_mode(3), SSL_SESSION_get_time(3),
31       SSL_CTX_flush_sessions(3), SSL_get_default_timeout(3)
32
34       Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.
35
36       Licensed under the OpenSSL license (the "License").  You may not use
37       this file except in compliance with the License.  You can obtain a copy
38       in the file LICENSE in the source distribution or at
39       <https://www.openssl.org/source/license.html>.
40
41
42
431.1.1c                            2019-05-28        SSL_GET_DEFAULT_TIMEOUT(3)
Impressum