View | Details | Raw Unified | Return to bug 21260
Collapse All | Expand All

(-)cache_util.c.orig (+5 lines)
Lines 295-300 Link Here
295
        maxstale = 0;
295
        maxstale = 0;
296
    }
296
    }
297
297
298
    /* If it's older than CacheMaxExpire, expire it regardless */
299
    if (conf->maxex != -1)
300
        if (age > apr_time_sec(conf->maxex))
301
          return 0;
302
298
    /* handle expiration */
303
    /* handle expiration */
299
    if (((smaxage != -1) && (age < (smaxage - minfresh))) ||
304
    if (((smaxage != -1) && (age < (smaxage - minfresh))) ||
300
        ((maxage != -1) && (age < (maxage + maxstale - minfresh))) ||
305
        ((maxage != -1) && (age < (maxage + maxstale - minfresh))) ||

Return to bug 21260