Changeset 771ca63 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Sep 23, 2010, 3:35:27 AM (9 years ago)
Author:
Nikos Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
d8c7cf4
Parents:
0fce7c2
git-author:
Nikos Mavrogiannopoulos <nmav@…> (09/23/10 03:27:03)
git-committer:
Nikos Mavrogiannopoulos <nmav@…> (09/23/10 03:35:27)
Message:

The GnuTLSCache variable now can be given the specific
option "sdbm" instead of "dbm". "dbm" will use the default
dbm type of libapr while sdbm will force sdbm to be used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r0fce7c2 r771ca63  
    344344    }
    345345
    346     sc->cache_type = mgs_cache_none;
    347     if (strcasecmp("dbm", type) == 0) {
     346    if (strcasecmp("none", type) == 0) {
     347        sc->cache_type = mgs_cache_none;
     348    } else if (strcasecmp("dbm", type) == 0) {
    348349        sc->cache_type = mgs_cache_dbm;
     350    }
     351    else if (strcasecmp("sdbm", type) == 0) {
     352        sc->cache_type = mgs_cache_sdbm;
    349353    }
    350354#if HAVE_APR_MEMCACHE
     
    357361    }
    358362
    359     if (sc->cache_type == mgs_cache_dbm) {
     363    if (sc->cache_type == mgs_cache_dbm || sc->cache_type == mgs_cache_sdbm) {
    360364        sc->cache_config = ap_server_root_relative(parms->pool, arg);
    361365    } else {
Note: See TracChangeset for help on using the changeset viewer.