Changeset f52f1b4 in mod_gnutls for src/gnutls_hooks.c


Ignore:
Timestamp:
Apr 29, 2018, 3:19:05 PM (3 years ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
Children:
56c722f
Parents:
d8d6b1e
git-author:
Fiona Klute <fiona.klute@…> (04/29/18 14:56:51)
git-committer:
Fiona Klute <fiona.klute@…> (04/29/18 15:19:05)
Message:

Allow GnuTLSCacheTimeout in virtual host config

I'm not sure if anyone needs this, but it simplifies timeout
configuration handling and is certainly not a bad thing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_hooks.c

    rd8d6b1e rf52f1b4  
    2121#include "mod_gnutls.h"
    2222#include "gnutls_cache.h"
     23#include "gnutls_config.h"
    2324#include "gnutls_ocsp.h"
    2425#include "gnutls_util.h"
     
    631632        sc->cache_enable = sc_base->cache_enable;
    632633        sc->cache_config = sc_base->cache_config;
    633         sc->cache_timeout = sc_base->cache_timeout;
    634634        sc->cache = sc_base->cache;
     635        if (sc->cache_timeout == MGS_TIMEOUT_UNSET)
     636            sc->cache_timeout = sc_base->cache_timeout;
    635637
    636638        sc->singleton_wd = sc_base->singleton_wd;
Note: See TracChangeset for help on using the changeset viewer.