Manual Pages for UNIX Darwin command on man SSL_flush_sessions
MyWebUniversity

Manual Pages for UNIX Darwin command on man SSL_flush_sessions

SSLCTXflushsessions(3) OpenSSL SSLCTXflushsessions(3)

NAME

SSLCTXflushsessions, SSLflushsessions - remove expired sessions

SYNOPSIS

#include

void SSLCTXflushsessions(SSLCTX *ctx, long tm); void SSLflushsessions(SSLCTX *ctx, long tm);

DESCRIPTION

SSLCTXflushsessions() causes a run through the session cache of ccttxx to remove sessions expired at time ttmm. SSLflushsessions() is a synonym for SSLCTXflushsessions(). NNOOTTEESS If enabled, the internal session cache will collect all sessions established up to the specified maximum number (see SSLCTXsesssetcachesize()). As sessions will not be reused ones they are expired, they should be removed from the cache to save resources. This can either be done automatically whenever 255 new sessions were established (see SSLCTXsetsessioncachemode(3)) or manually by calling SSLCTXflushsessions(). The parameter ttmm specifies the time which should be used for the expiration test, in most cases the actual time given by time(0) will be used. SSLCTXflushsessions() will only check sessions stored in the internal cache. When a session is found and removed, the removesessioncb is however called to synchronize with the external cache (see SSLCTXsesssetgetcb(3)).

RETURN VALUES

SEE ALSO

ssl(3), SSLCTXsetsessioncachemode(3), SSLCTXsettimeout(3), SSLCTXsesssetgetcb(3)

0.9.7l 2001-02-04 SSLCTXflushsessions(3)




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