Changeset f52f1b4 in mod_gnutls
- Timestamp:
- Apr 29, 2018, 3:19:05 PM (5 years ago)
- Branches:
- asyncio, 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)
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/mod_gnutls_manual.mdwn
rd8d6b1e rf52f1b4 118 118 119 119 Default: `GnuTLSCacheTimeout 300`\ 120 Context: server config 120 Context: server config, virtual host 121 121 122 122 Sets the timeout for TLS Session Cache entries expiration. This value -
src/gnutls_config.c
rd8d6b1e rf52f1b4 640 640 641 641 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;646 642 sc->cache_timeout = apr_time_from_sec(argint); 647 }648 643 else if (!apr_strnatcasecmp(parms->directive->directive, 649 644 "GnuTLSOCSPCacheTimeout")) … … 946 941 gnutls_srvconf_merge(dh_file, NULL); 947 942 gnutls_srvconf_merge(priorities_str, NULL); 943 gnutls_srvconf_merge(cache_timeout, MGS_TIMEOUT_UNSET); 948 944 949 945 gnutls_srvconf_merge(proxy_x509_key_file, NULL); -
src/gnutls_hooks.c
rd8d6b1e rf52f1b4 21 21 #include "mod_gnutls.h" 22 22 #include "gnutls_cache.h" 23 #include "gnutls_config.h" 23 24 #include "gnutls_ocsp.h" 24 25 #include "gnutls_util.h" … … 631 632 sc->cache_enable = sc_base->cache_enable; 632 633 sc->cache_config = sc_base->cache_config; 633 sc->cache_timeout = sc_base->cache_timeout;634 634 sc->cache = sc_base->cache; 635 if (sc->cache_timeout == MGS_TIMEOUT_UNSET) 636 sc->cache_timeout = sc_base->cache_timeout; 635 637 636 638 sc->singleton_wd = sc_base->singleton_wd; -
test/tests/03_cachetimeout_in_vhost/apache.conf
rd8d6b1e rf52f1b4 1 1 Include ${srcdir}/base_apache.conf 2 GnuTLSCache shmcb:cache/gnutls_cache_${TEST_NAME} 2 3 3 4 <VirtualHost _default_:${TEST_PORT}> 4 # Cache configuration not allowed in here:5 5 GnuTLSCacheTimeout 200 6 6 ServerName ${TEST_HOST}
Note: See TracChangeset
for help on using the changeset viewer.