Changeset 2b29da0 in mod_gnutls


Ignore:
Timestamp:
Jun 27, 2010, 3:13:18 PM (9 years ago)
Author:
Nikos Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
4deda6d
Parents:
622abdd
git-author:
Nikos Mavrogiannopoulos <nmav@…> (06/27/10 15:12:28)
git-committer:
Nikos Mavrogiannopoulos <nmav@…> (06/27/10 15:13:18)
Message:

Check the cache DB every 15 minutes instead of checking on every write.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEWS

    r622abdd r2b29da0  
    44- Depend on gnutls 2.10.0 to force support for safe
    55  renegotiation.
     6
     7- Optimizations in session caching.
    68
    79** Version 0.5.6 (2010-03-24)
  • src/gnutls_cache.c

    r622abdd r2b29da0  
    310310    int should_delete = 0;
    311311
     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
    312319    apr_pool_create(&spool, ctxt->c->pool);
    313     ex = apr_time_now();
    314320   
    315321    rv = apr_dbm_open(&dbm, ctxt->sc->cache_config, APR_DBM_READONLY,
Note: See TracChangeset for help on using the changeset viewer.