Document when a session gets removed from cache
[openssl.git] / doc / man3 / SSL_get_session.pod
index b2e92af2efcfe966247dd911c71352103c64c6ee..7ed63538b4897fbf4ca05fce53f146c63fb9490f 100644 (file)
@@ -48,6 +48,11 @@ SSL_SESSION object that cannot be used for resumption in TLSv1.3. It also
 enables applications to obtain information about all sessions sent by the
 server.
 
+A session will be automatically removed from the session cache and marked as
+non-resumable if the connection is not closed down cleanly, e.g. if a fatal
+error occurs on the connection or L<SSL_shutdown(3)> is not called prior to
+L<SSL_free(3)>.
+
 In TLSv1.3 it is recommended that each SSL_SESSION object is only used for
 resumption once.