Changeset f52f1b4 in mod_gnutls for src/gnutls_config.c


Ignore:
Timestamp:
Apr 29, 2018, 3:19:05 PM (2 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_config.c

    rd8d6b1e rf52f1b4  
    640640
    641641    if (!apr_strnatcasecmp(parms->directive->directive, "GnuTLSCacheTimeout"))
    642     {
    643         const char *err;
    644         if ((err = ap_check_cmd_context(parms, GLOBAL_ONLY)))
    645             return err;
    646642        sc->cache_timeout = apr_time_from_sec(argint);
    647     }
    648643    else if (!apr_strnatcasecmp(parms->directive->directive,
    649644                                "GnuTLSOCSPCacheTimeout"))
     
    946941    gnutls_srvconf_merge(dh_file, NULL);
    947942    gnutls_srvconf_merge(priorities_str, NULL);
     943    gnutls_srvconf_merge(cache_timeout, MGS_TIMEOUT_UNSET);
    948944
    949945    gnutls_srvconf_merge(proxy_x509_key_file, NULL);
Note: See TracChangeset for help on using the changeset viewer.