summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_db_remove_session
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_db_remove_session')
-rw-r--r--doc/functions/gnutls_db_remove_session15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/functions/gnutls_db_remove_session b/doc/functions/gnutls_db_remove_session
new file mode 100644
index 0000000..a9b9da7
--- /dev/null
+++ b/doc/functions/gnutls_db_remove_session
@@ -0,0 +1,15 @@
+
+
+
+
+@deftypefun {void} {gnutls_db_remove_session} (gnutls_session_t @var{session})
+@var{session}: is a @code{gnutls_session_t} type.
+
+This function will remove the current session data from the
+session database. This will prevent future handshakes reusing
+these session data. This function should be called if a session
+was terminated abnormally, and before @code{gnutls_deinit()} is called.
+
+Normally @code{gnutls_deinit()} will remove abnormally terminated
+sessions.
+@end deftypefun