]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Currently each of the caching module includes logic to implement
authorDirk-Willem van Gulik <dirkx@apache.org>
Thu, 17 Apr 2008 16:03:13 +0000 (16:03 +0000)
committerDirk-Willem van Gulik <dirkx@apache.org>
Thu, 17 Apr 2008 16:03:13 +0000 (16:03 +0000)
commit53d475f654bf7c538682ae429e88d4c8e702ce94
tree8c6a1dcab12cc65f8bce5af08e3d131b045fb4e4
parentae2b139ec9a072845f310a14d3ad226308ad7902
Currently each of the caching module includes logic to implement
the hop-by-hop rules of rfc 2616 along with the entity response
rules. To make sure that they stay in sync; and to make it easier
to add (http) caching modules - this change moves them all into
one place (cache_util) and exposes a in-bound and out-bound
version to operate on the headers.

In short: we retire ap_cache_cacheable_hdrs_out() which was used
for both in- and out-put headers; and replace it by a single
ap_cache_cacheable_headers() which understands the hop-by-hop
rules. And then wrap this into an in- and out-put specific
ap_cache_cacheable_headers_in()/out() which we can teach things
about entity responses and so on.. The latter which will also
merge error and ensure content-type.

This API change bumps up the minor MM by one.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@649162 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
include/ap_mmn.h
modules/cache/cache_util.c
modules/cache/mod_cache.h