ASF Bugzilla – Attachment 19344 Details for
Bug 21260
CacheMaxExpire directive not enforced !
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 2.2.x
cache_util.c.diff (text/plain), 490 bytes, created by
Mike Williams
on 2007-01-03 07:01:58 UTC
(
hide
)
Description:
patch for 2.2.x
Filename:
MIME Type:
Creator:
Mike Williams
Created:
2007-01-03 07:01:58 UTC
Size:
490 bytes
patch
obsolete
>--- cache_util.c.orig 2007-01-03 14:22:55.000000000 +0000 >+++ cache_util.c 2007-01-03 14:51:14.000000000 +0000 >@@ -295,6 +295,11 @@ > maxstale = 0; > } > >+ /* If it's older than CacheMaxExpire, expire it regardless */ >+ if (conf->maxex != -1) >+ if (age > apr_time_sec(conf->maxex)) >+ return 0; >+ > /* handle expiration */ > if (((smaxage != -1) && (age < (smaxage - minfresh))) || > ((maxage != -1) && (age < (maxage + maxstale - minfresh))) ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21260
: 19344 |
31447