Sander Striker
438c65986e
Tracked down by Justin Erenkrantz.
...
* modules/cache/mod_disk_cache.c
(store_headers): Stop second guessing mod_cache and just store the
headers in a new file (overwriting the old).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156306 13f79535-47bb-0310-9956-ffa450edef68
2005-03-06 12:52:46 +00:00
Joe Orton
519b48fce1
* modules/cache/mod_disk_cache.c (store_body): Fix format string
...
warnings; print integers using _FMT strings.
* modules/cache/cache_util.c (ap_cache_check_freshness): Remove unused
variable.
* modules/cache/cache_storage.c (cache_select_url): Remove unused
variable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153385 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 12:16:06 +00:00
Justin Erenkrantz
441086ecfd
More work to properly handle revalidated responses correctly.
...
* modules/cache/mod_cache.c: If we add a new Expires value, tell our client;
merge in headers properly (or better than before) so that we can update the
header fields on a revalidated but with updated header fields.
* modules/cache/mod_cache.h, modules/cache/cache_storage.c:
Add preserve_orig flag to ap_cache_accept_headers to allow updating of fields.
* modules/cache/mod_disk_cache.c: Load status value from disk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152973 13f79535-47bb-0310-9956-ffa450edef68
2005-02-09 01:38:59 +00:00
Bradley Nicholes
f193418fa8
Make the function declaration match the prototype
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152927 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 19:41:15 +00:00
Justin Erenkrantz
1d4c6d1c6d
Cleanup structures in mod_cache and friends to remove unused or unnecessary
...
fields. Also resolves a number of latent bugs due to the wrong fields being
accessed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152679 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 17:39:56 +00:00
Justin Erenkrantz
3846ec8b48
* modules/cache/mod_disk_cache.c: Properly load cached ETag from on-disk
...
structures.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151815 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 02:01:46 +00:00
Justin Erenkrantz
905cdf9f0b
Update copyright year to 2005 and standardize on current copyright owner line.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
Justin Erenkrantz
e597158021
* modules/cache/mod_disk_cache.c: Cache r->err_headers_out headers. This
...
allows CGI scripts to be properly cached.
This issue was pointed out by Sander Striker.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@126042 13f79535-47bb-0310-9956-ffa450edef68
2005-01-22 17:59:48 +00:00
Justin Erenkrantz
45fdd72155
mod_cache: Remove unimplemented CacheForceCompletion directive.
...
* modules/cache/mod_cache.h: Remove DEFAULT_CACHE_COMPLETION #define and
complete-related vars.
* modules/cache/mod_cache.c: Ditto.
* modules/cache/mod_disk_cache.c: Clarify error message; remove unused
complete var (unrelated to CacheForceCompletion removal).
* docs/manual/mod/mod_cache.xml.ja, docs/manual/mod/mod_cache.xml.ko,
docs/manual/mod/mod_cache.xml: Remove references to CacheForceCompletion.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@125573 13f79535-47bb-0310-9956-ffa450edef68
2005-01-19 00:19:58 +00:00
Jean-Frederic Clere
d850e22dcb
util_charset.h has already the needed #if APR_CHARSET_EBCDIC.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124224 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 16:16:07 +00:00
Jean-Frederic Clere
af7e1482aa
Add including of util_charset.h otherwise ap_hdrs_from_ascii is not defined.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124080 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 09:58:01 +00:00
Justin Erenkrantz
63dd4623e1
At long last, promote mod_cache and friends out of experimental/.
...
Also, take quick pass through docs files to remove experimental label for them.
Reviewed by: Paul Querna, Bill Stoddard, Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106737 13f79535-47bb-0310-9956-ffa450edef68
2004-11-27 19:06:48 +00:00