Changeset 2d454a2 in mod_gnutls


Ignore:
Timestamp:
May 7, 2018, 12:47:32 PM (3 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, debian/master, master, proxy-ticket
Children:
13870b7
Parents:
72377cf
Message:

Macro for session cache name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_cache.c

    r72377cf r2d454a2  
    3838/** Default session cache timeout */
    3939#define MGS_DEFAULT_CACHE_TIMEOUT 300
     40
     41/** Session cache name */
     42#define MGS_SESSION_CACHE_NAME "gnutls_session"
    4043
    4144/** Maximum length of the hex string representation of a GnuTLS
     
    437440        sc->cache_timeout = apr_time_from_sec(MGS_DEFAULT_CACHE_TIMEOUT);
    438441
    439     rv = mgs_cache_inst_init(sc->cache, "mod_gnutls-session",
     442    rv = mgs_cache_inst_init(sc->cache, MGS_SESSION_CACHE_NAME,
    440443                             MGS_CACHE_MUTEX_NAME, s, pconf);
    441444    if (rv != APR_SUCCESS)
Note: See TracChangeset for help on using the changeset viewer.