gnutls_db_set_cache_expiration(3)

gnutls_db_set_cache_expiration3

Api function

Usage

#include <gnutls/gnutls.h>

void gnutls_db_set_cache_expiration(gnutls_session_t session, int seconds);

Arguments

gnutls_session_t session

is a gnutls_session_t type.

int seconds

is the number of seconds.

Overview

Set the expiration time for resumed sessions. The default is 21600 (6 hours) at the time of writing.

The maximum value that can be set using this function is 604800 (7 days).

Releases

10 releases since Debian 4.0 (Etch); the text changed 9 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.