gnutls_db_set_cache_expiration(3)
π gnutls_db_set_cache_expiration(3) π
okay bestie, sit down, we're reading a gnutls manpage together and honestly? this one's short and sweet, we love a low-commitment queen. the manual name is gnutls, and this lil function is gnutls_db_set_cache_expiration. let's get into it β¨
β¨ NAME β¨
gnutls_db_set_cache_expiration β it's an API function, bestie π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void gnutls_db_set_cache_expiration(gnutls_session_t session, int
seconds);
look at her. returns void. she gives nothing back and she's not sorry π
π¦ ARGUMENTS π¦
gnutls_session_t sessionβ this is agnutls_session_ttype. that's the whole description, she's mysterious like that πint secondsβ the number of seconds. yeah. it's seconds. we love a self-explanatory name fr fr
π DESCRIPTION π
so what does this actually DO? it sets the expiration time for resumed sessions. that's it, that's the job β¨
the default is 21600 seconds β that's 6 hours β at the time of writing. yes, "at the time of writing," they're keeping it humble, iconic honestly.
and the maximum value you can set with this function is 604800 seconds, which is 7 days. so don't come in here trying to set it to a whole month, she will NOT allow it, no cap π
fr fr:21600default,604800max. write that down bestie π
π REPORTING BUGS π
found a bug? report it to <bugs@gnutls.org> β they want to hear from you, go off π«Ά
home page: https://www.gnutls.org
π COPYRIGHT π
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. so like, go ahead, spread the word, just keep the receipts π
π 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/
go read it, i'll wait, i'm obsessed with a girl who reads docs π§
and that's the whole page bestie!! this was gnutls version 3.8.13, the gnutls_db_set_cache_expiration(3) page, and yeah the footer date situation is what it is β we ran with what we had π
β¨ mwah, go expire some sessions responsibly ππ
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms