Changeset d26fa55 in mod_gnutls


Ignore:
Timestamp:
Oct 21, 2016, 1:47:12 AM (14 months ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master, debian, upstream
Children:
c6dda6d
Parents:
3f0b470
Message:

Allow GnuTLSOCSPGraceTime in virtual host context

mgs_set_timeout enforced the global context for all timeouts, rather
than just GnuTLSCacheTimeout as intended.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_config.c

    r4d4a406 rd26fa55  
    852852                            const char *arg)
    853853{
    854     const char *err;
    855     if ((err = ap_check_cmd_context(parms, GLOBAL_ONLY)))
    856         return err;
    857 
    858854    apr_int64_t argint = apr_atoi64(arg);
    859855    if (argint < 0)
     
    865861
    866862    if (!apr_strnatcasecmp(parms->directive->directive, "GnuTLSCacheTimeout"))
     863    {
     864        const char *err;
     865        if ((err = ap_check_cmd_context(parms, GLOBAL_ONLY)))
     866            return err;
    867867        sc->cache_timeout = apr_time_from_sec(argint);
     868    }
    868869    else if (!apr_strnatcasecmp(parms->directive->directive,
    869870                                "GnuTLSOCSPGraceTime"))
Note: See TracChangeset for help on using the changeset viewer.