summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_db_remove_session
blob: a9b9da72d32adb4db1d7c808d127bf038532423e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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