SSL_CTX_sess_set_get_cb.pod (72613) | SSL_CTX_sess_set_get_cb.pod (89837) |
---|---|
1=pod 2 3=head1 NAME 4 5SSL_CTX_sess_set_new_cb, SSL_CTX_sess_set_remove_cb, SSL_CTX_sess_set_get_cb, SSL_CTX_sess_get_new_cb, SSL_CTX_sess_get_remove_cb, SSL_CTX_sess_get_get_cb - provide callback functions for server side external session caching 6 7=head1 SYNOPSIS 8 --- 56 unchanged lines hidden (view full) --- 65remove_session_cb() is passed the B<ctx> and the ssl session B<sess>. 66It does not provide any feedback. 67 68The get_session_cb() is only called on SSL/TLS servers with the session id 69proposed by the client. The get_session_cb() is always called, also when 70session caching was disabled. The get_session_cb() is passed the 71B<ssl> connection, the session id of length B<length> at the memory location 72B<data>. With the parameter B<copy> the callback can require the | 1=pod 2 3=head1 NAME 4 5SSL_CTX_sess_set_new_cb, SSL_CTX_sess_set_remove_cb, SSL_CTX_sess_set_get_cb, SSL_CTX_sess_get_new_cb, SSL_CTX_sess_get_remove_cb, SSL_CTX_sess_get_get_cb - provide callback functions for server side external session caching 6 7=head1 SYNOPSIS 8 --- 56 unchanged lines hidden (view full) --- 65remove_session_cb() is passed the B<ctx> and the ssl session B<sess>. 66It does not provide any feedback. 67 68The get_session_cb() is only called on SSL/TLS servers with the session id 69proposed by the client. The get_session_cb() is always called, also when 70session caching was disabled. The get_session_cb() is passed the 71B<ssl> connection, the session id of length B<length> at the memory location 72B<data>. With the parameter B<copy> the callback can require the |
73SSL engine to increment the reference count of the SSL_SESSION object. | 73SSL engine to increment the reference count of the SSL_SESSION object, 74Normally the reference count is not incremented and therefore the 75session must not be explicitly freed with 76L<SSL_SESSION_free(3)|SSL_SESSION_free(3)>. |
74 75=head1 SEE ALSO 76 77L<ssl(3)|ssl(3)>, L<d2i_SSL_SESSION(3)|d2i_SSL_SESSION(3)>, 78L<SSL_CTX_set_session_cache_mode(3)|SSL_CTX_set_session_cache_mode(3)>, | 77 78=head1 SEE ALSO 79 80L<ssl(3)|ssl(3)>, L<d2i_SSL_SESSION(3)|d2i_SSL_SESSION(3)>, 81L<SSL_CTX_set_session_cache_mode(3)|SSL_CTX_set_session_cache_mode(3)>, |
79L | 82L<SSL_CTX_flush_sessions(3)|<SSL_CTX_flush_sessions(3)>, 83L<SSL_SESSION_free(3)|SSL_SESSION_free(3)> |
80 81=cut | 84 85=cut |