]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fixes and cleanups for mod_cache;
authorColm MacCarthaigh <colm@apache.org>
Mon, 26 Sep 2005 09:21:45 +0000 (09:21 +0000)
committerColm MacCarthaigh <colm@apache.org>
Mon, 26 Sep 2005 09:21:45 +0000 (09:21 +0000)
commit6eeba097be355f4218ee09732f3af698303580ae
treee882890aac89dbe3b07ebf3af354adeb9b0d5ef1
parent9f6b44073946f2fc89f65964e034acc1ad778343
Fixes and cleanups for mod_cache;

    * Add r->uri to the debug messages in the quick handler; makes debugging
      easier.

    * Always reset headers_in for lookup's, some modules make subrequests
      and then rewrite the url. Having a conditional request at this point
      is not what they expect (nor reasonable for them to handle).

    * Don't store a per-request config on lookups; for the same reason.

    * Return DECLINED when in lookup mode and ap_meets_conditions() indicated
      we have the content but don't know if it's fresh or not. We have no idea
      whether the backend will have a 404, a 304 or any other kind of a
      response - so we have to assume we cannot handle the request.

    * remove the unused "url" argument from the cache_create_entity() function

    * Whitespace/comment fixups in mod_cache.h

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@291588 13f79535-47bb-0310-9956-ffa450edef68
modules/cache/cache_storage.c
modules/cache/mod_cache.c
modules/cache/mod_cache.h