1gnutls_db_set_cache_expiration(3) gnutls gnutls_db_set_cache_expiration(3)
2
3
4
6 gnutls_db_set_cache_expiration - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_db_set_cache_expiration(gnutls_session_t session, int sec‐
12 onds);
13
15 gnutls_session_t session
16 is a gnutls_session_t type.
17
18 int seconds is the number of seconds.
19
21 Set the expiration time for resumed sessions. The default is 21600 (6
22 hours) at the time of writing.
23
24 The maximum value that can be set using this function is 604800 (7
25 days).
26
28 Report bugs to <bugs@gnutls.org>.
29 Home page: https://www.gnutls.org
30
31
33 Copyright © 2001- Free Software Foundation, Inc., and others.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright no‐
36 tice and this notice are preserved.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
41 visit
42
43 https://www.gnutls.org/manual/
44
45gnutls 3.7.2 gnutls_db_set_cache_expiration(3)