Manual Pages for UNIX Darwin command on man SSL_CTX_get_timeout
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_CTX_get_timeout

SSLCTXsettimeout(3) OpenSSL SSLCTXsettimeout(3)

NAME

SSLCTXsettimeout, SSLCTXgettimeout - manipulate timeout values

for session caching

SYNOPSIS

#include

long SSLCTXsettimeout(SSLCTX *ctx, long t); long SSLCTXgettimeout(SSLCTX *ctx);

DESCRIPTION

SSLCTXsettimeout() sets the timeout for newly created sessions for ccttxx to tt. The timeout value tt must be given in seconds. SSLCTXgettimeout() returns the currently set timeout value for ccttxx. NNOOTTEESS Whenever a new session is created, it is assigned a maximum lifetime. This lifetime is specified by storing the creation time of the session and the timeout value valid at this time. If the actual time is later than creation time plus timeout, the session is not reused. Due to this realization, all sessions behave according to the timeout value valid at the time of the session negotiation. Changes of the timeout value do not affect already established sessions. The expiration time of a single session can be modified using the SSLSESSIONgettime(3) family of functions. Expired sessions are removed from the internal session cache, whenever SSLCTXflushsessions(3) is called, either directly by the application or automatically (see SSLCTXsetsessioncachemode(3)) The default value for session timeout is decided on a per protocol basis, see SSLgetdefaulttimeout(3). All currently supported protocols have the same default timeout value of 300 seconds.

RETURN VALUES

SSLCTXsettimeout() returns the previously set timeout value. SSLCTXgettimeout() returns the currently set timeout value.

SEE ALSO

ssl(3), SSLCTXsetsessioncachemode(3), SSLSESSIONgettime(3), SSLCTXflushsessions(3), SSLgetdefaulttimeout(3)

0.9.7l 2001-08-17 SSLCTXsettimeout(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™