aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--src/gnutls_cache.c8
2 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c0f3a0d..9750e7d 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
4- Depend on gnutls 2.10.0 to force support for safe 4- Depend on gnutls 2.10.0 to force support for safe
5 renegotiation. 5 renegotiation.
6 6
7- Optimizations in session caching.
8
7** Version 0.5.6 (2010-03-24) 9** Version 0.5.6 (2010-03-24)
8- Corrected issue with firefox and long POST data (by 10- Corrected issue with firefox and long POST data (by
9 handling EINTR and EAGAIN errors in read). 11 handling EINTR and EAGAIN errors in read).
diff --git a/src/gnutls_cache.c b/src/gnutls_cache.c
index 4d4a661..4d0a733 100644
--- a/src/gnutls_cache.c
+++ b/src/gnutls_cache.c
@@ -309,8 +309,14 @@ static int dbm_cache_expire(mgs_handle_t *ctxt)
309 int keyidx = 0; 309 int keyidx = 0;
310 int should_delete = 0; 310 int should_delete = 0;
311 311
312 apr_pool_create(&spool, ctxt->c->pool);
313 ex = apr_time_now(); 312 ex = apr_time_now();
313
314 if (ex - ctxt->sc->last_cache_check < 900)
315 return 0;
316
317 ctxt->sc->last_cache_check = ex;
318
319 apr_pool_create(&spool, ctxt->c->pool);
314 320
315 rv = apr_dbm_open(&dbm, ctxt->sc->cache_config, APR_DBM_READONLY, 321 rv = apr_dbm_open(&dbm, ctxt->sc->cache_config, APR_DBM_READONLY,
316 SSL_DBM_FILE_MODE, spool); 322 SSL_DBM_FILE_MODE, spool);
d> | * print error if preconfiguration failsGravatar Nokis Mavrogiannopoulos 2007-12-15 | * Initial support for openpgp keysGravatar Nokis Mavrogiannopoulos 2007-12-15 | * (no commit message)Gravatar Nokis Mavrogiannopoulos 2007-12-10 | * (no commit message)Gravatar Nokis Mavrogiannopoulos 2007-12-10 | * (no commit message)Gravatar Nokis Mavrogiannopoulos 2007-12-09 | * Do not allow resuming sessions on different servers.Gravatar Nokis Mavrogiannopoulos 2007-12-09 | * Corrected bug which did not allow the TLS session cache to be used.Gravatar Nokis Mavrogiannopoulos 2007-12-09 | * Added support for sending more than one certificate.Gravatar Nokis Mavrogiannopoulos 2007-12-08 | * added more error checks.Gravatar Nokis Mavrogiannopoulos 2007-12-03 | * better handling of RSAFile and DHFileGravatar Nokis Mavrogiannopoulos 2007-12-03 | * report the missing GnuTLSPriorities for the gnutls enabled hosts only.Gravatar Nokis Mavrogiannopoulos 2007-12-02 | * No more defaults for dhparams, rsaparams. Check for GnuTLSPriorities.Gravatar Nokis Mavrogiannopoulos 2007-12-02 | * The compatibility mode can now be enabled only using the GnuTLSPriorities ↵Gravatar Nokis Mavrogiannopoulos 2007-12-02 | | | | string. * (no commit message)Gravatar Nokis Mavrogiannopoulos 2007-12-02 | * added SSL_SERVER/CLIENT_S_TYPEGravatar Nokis Mavrogiannopoulos 2007-12-02 | * export the alternative names of the certificateGravatar Nokis Mavrogiannopoulos 2007-12-02 | * added SSL_SERVER_M_SERIAL environment variableGravatar Nokis Mavrogiannopoulos 2007-12-02 | * more fixes for subject alternative name.Gravatar Nokis Mavrogiannopoulos 2007-12-02 | * some fixes in alternative name supportGravatar Nokis Mavrogiannopoulos 2007-12-02 | * Added support for subject alternative names. (untested)Gravatar Nokis Mavrogiannopoulos 2007-12-01 | * upgraded to 0.4.00.4.0Gravatar Nokis Mavrogiannopoulos 2007-11-28 | * Put a limit on the number of times we try to handshake.Gravatar Paul Querna 2005-09-25 | * start the CA Certificate code.