ASF Bugzilla – Attachment 7151 Details for
Bug 15869
cache ignores max-age cache-directive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch will make this work. But actually this is a defect dependent on 21392, which i have filed. Put this patch in addition to what i gave already submitted..
fix for 21392.txt (text/plain), 1.15 KB, created by
Srinivasa Ragavan
on 2003-07-08 06:43:33 UTC
(
hide
)
Description:
This patch will make this work. But actually this is a defect dependent on 21392, which i have filed. Put this patch in addition to what i gave already submitted..
Filename:
MIME Type:
Creator:
Srinivasa Ragavan
Created:
2003-07-08 06:43:33 UTC
Size:
1.15 KB
patch
obsolete
>--- c:\BASE\httpd-2.0.46\modules\experimental\cache_util.c Mon Feb 03 09:31:36 2003 >+++ c:\httpd-2.0.46\modules\experimental\cache_util.c Tue Jul 08 10:45:56 2003 >@@ -259,15 +292,14 @@ > cc_cresp, > "proxy-revalidate", NULL)))) > maxstale = 0; >- /* handle expiration */ >+ /* handle expiration */ > if ((-1 < smaxage && age < (smaxage - minfresh)) || > (-1 < maxage && age < (maxage + maxstale - minfresh)) || >- (info->expire != APR_DATE_BAD && age < (apr_time_sec(info->expire - info->date) + maxstale - minfresh))) { >+ (-1 == maxage && info->expire != APR_DATE_BAD && age < (apr_time_sec(info->expire - info->date) + maxstale - minfresh))) { > /* it's fresh darlings... */ > /* set age header on response */ > apr_table_set(r->headers_out, "Age", > apr_psprintf(r->pool, "%lu", (unsigned long)age)); >- > /* add warning if maxstale overrode freshness calculation */ > if (!((-1 < smaxage && age < smaxage) || > (-1 < maxage && age < maxage) ||
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 15869
:
4365
|
7028
|
7123
|
7139
|
7140
| 7151 |
7167
|
7168