gnutls_db_remove_session(3)

πŸ’– gnutls_db_remove_session πŸ’–

okay bestie, welcome to the gnutls manual, and today's main character is gnutls_db_remove_session β€” an API function, no cap πŸŽ€


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

void gnutls_db_remove_session(gnutls_session_t session);

🫢 ARGUMENTS 🫢

  • gnutls_session_t session β€” bestie it's a gnutls_session_t type. that's the whole vibe. that's literally it πŸ’…

🌸 DESCRIPTION 🌸

so what does she DO? this function removes the current session data from the session database. gone. deleted. not in this house anymore πŸ’€

and why do we care? because it prevents future handshakes from reusing that session data. so like, no sneaky little handshake coming back later being like "hey remember me?" nope. blocked. periodt πŸ”₯

you should call this function if a session was terminated abnormally, and you gotta do it before gnutls_deinit() is called. order matters, bestie, don't play yourself πŸ™ˆ

lowkey important: normally gnutls_deinit() will remove abnormally terminated sessions all on its own. so this is your manual cleanup moment when you wanna be extra sure ✨

πŸ› REPORTING BUGS πŸ›

found a bug? don't gatekeep it, report it to <bugs@gnutls.org>. πŸ’Œ

home page is right here: https://www.gnutls.org


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. iconic behaviour fr fr 🫢


🌈 SEE ALSO 🌈

the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:

https://www.gnutls.org/manual/


and that's the whole page, bestie β€” no crumbs left behind πŸ’– this was gnutls version 3.8.13, signing off like the queen she is πŸ‘‘βœ¨

πŸ“¦ where this page comes from