Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ssl_ctx_flush_sessions(3) [netbsd man page]

SSL_CTX_flush_sessions(3)					      OpenSSL						 SSL_CTX_flush_sessions(3)

NAME
SSL_CTX_flush_sessions, SSL_flush_sessions - remove expired sessions LIBRARY
libcrypto, -lcrypto SYNOPSIS
#include <openssl/ssl.h> void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm); void SSL_flush_sessions(SSL_CTX *ctx, long tm); DESCRIPTION
SSL_CTX_flush_sessions() causes a run through the session cache of ctx to remove sessions expired at time tm. SSL_flush_sessions() is a synonym for SSL_CTX_flush_sessions(). NOTES
If enabled, the internal session cache will collect all sessions established up to the specified maximum number (see SSL_CTX_sess_set_cache_size()). 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 SSL_CTX_set_session_cache_mode(3)) or manually by calling SSL_CTX_flush_sessions(). The parameter tm specifies the time which should be used for the expiration test, in most cases the actual time given by time(0) will be used. SSL_CTX_flush_sessions() will only check sessions stored in the internal cache. When a session is found and removed, the remove_session_cb is however called to synchronize with the external cache (see SSL_CTX_sess_set_get_cb(3)). RETURN VALUES
SEE ALSO
ssl(3), SSL_CTX_set_session_cache_mode(3), SSL_CTX_set_timeout(3), SSL_CTX_sess_set_get_cb(3) 1.0.1i 2009-07-20 SSL_CTX_flush_sessions(3)

Check Out this Related Man Page

SSL_CTX_flush_sessions(3)					      OpenSSL						 SSL_CTX_flush_sessions(3)

NAME
SSL_CTX_flush_sessions, SSL_flush_sessions - remove expired sessions SYNOPSIS
#include <openssl/ssl.h> void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm); void SSL_flush_sessions(SSL_CTX *ctx, long tm); DESCRIPTION
SSL_CTX_flush_sessions() causes a run through the session cache of ctx to remove sessions expired at time tm. SSL_flush_sessions() is a synonym for SSL_CTX_flush_sessions(). NOTES
If enabled, the internal session cache will collect all sessions established up to the specified maximum number (see SSL_CTX_sess_set_cache_size()). 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 SSL_CTX_set_session_cache_mode(3)) or manually by calling SSL_CTX_flush_sessions(). The parameter tm specifies the time which should be used for the expiration test, in most cases the actual time given by time(0) will be used. SSL_CTX_flush_sessions() will only check sessions stored in the internal cache. When a session is found and removed, the remove_session_cb is however called to synchronize with the external cache (see SSL_CTX_sess_set_get_cb(3)). RETURN VALUES
SEE ALSO
ssl(3), SSL_CTX_set_session_cache_mode(3), SSL_CTX_set_timeout(3), SSL_CTX_sess_set_get_cb(3) 0.9.8 2009-04-03 SSL_CTX_flush_sessions(3)
Man Page

5 More Discussions You Might Find Interesting

1. SCO

Identifiy and Kill Idle Unix(SCO) Process called externally

Hi, Please let us know of any possiblity of identifying and killing unix proces invoked externally (by an external tool which does not create a session). 'who' command gives idle time of sessions. But what we are looking for is idle time of a process. 'ps' command gives the elapsed/running... (1 Reply)
Discussion started by: vbalajis
1 Replies

2. Solaris

Restricting Multiple loggin sessions

Any idea as to how multiple loggin sessions by the same user (using Hyper terminal/Telnet) be restricted in Sun Solaris 8. Rgds Naushi (10 Replies)
Discussion started by: Naushi
10 Replies

3. Shell Programming and Scripting

script : How many sessions are there ?

Hi everybody, I need a script that shows the total number of sessions there are ... This shows how many sessions are open... echo "Number of open sessions: " w | grep :0 | wc | awk '{print $1} But how can I see how many sessions there are in total?? I hope someone can help me... ... (3 Replies)
Discussion started by: xaviraan
3 Replies

4. Shell Programming and Scripting

Kill sessions

Hi , I am connecting to the linux redhat machine as user : APPS I would like to know how i can kill -9 , all APPS sessions beside me . Please advice Thanks (2 Replies)
Discussion started by: yoavbe
2 Replies

5. AIX

Multiple sessions with xming

Hi. I installed xming to access to my servers but I have a problem : i can only have one session at a time ... i don't find any parameter to change this. Tks (3 Replies)
Discussion started by: stephnane
3 Replies