Skip to content
  1. Sep 29, 2004
  2. Sep 28, 2004
    • Justin Erenkrantz's avatar
      Try to correctly follow RFC 2616 13.3 on validating stale cache responses by · 3a37af26
      Justin Erenkrantz authored
      teaching mod_cache's cache_select_url and cache_save_filter how to deal with
      this corner case.
      
      * modules/experimental/cache_storage.c
        (cache_select_url): If we have a stale entry, save the handle so that
        cache_save_filter can use it later, and make the request conditional.
      * modules/experimental/cache_util.c
        (ap_cache_request_is_conditional): Take in a table rather than request_rec.
      * modules/experimental/mod_cache.c
        (cache_out_filter): Fix bogus comment.
        (cache_save_filter): If we have already responded to the client, block all
        data; correctly merge in 'stale' handles that are not really stale; set
        r->status where appropriate; serve cached response if 'fresh'
      * modules/experimental/mod_cache.h
        (cache_info): Add a status field.
        (cache_request_rec): Add stale handle field and note we may block responses.
        (ap_cache_request_is_conditional): Update prototype.
      * modules/experimental/mod_disk_cache.c
        (store_headers): Use cache_info status instead of r->status.
      * modules/experimental/mod_mem_cache.c
        (recall_headers): Properly recall the status field.
        (store_headers): Store the status field via cache_info status.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105322 13f79535-47bb-0310-9956-ffa450edef68
      3a37af26
    • Justin Erenkrantz's avatar
      mod_disk_cache: Do not store aborted content. · 30aa9ac5
      Justin Erenkrantz authored
      PR: 21492
      Submitted by:	R�diger Pl�m <r.pluem t-online.de>
      Reviewed by:	Justin Erenkrantz
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105317 13f79535-47bb-0310-9956-ffa450edef68
      30aa9ac5
    • Justin Erenkrantz's avatar
      mod_disk_cache: Correctly store cached content type. · e90ce9ce
      Justin Erenkrantz authored
      PR: 30278
      Submitted by:	R�diger Pl�m <r.pluem t-online.de>
      Reviewed by:	Justin Erenkrantz
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105315 13f79535-47bb-0310-9956-ffa450edef68
      e90ce9ce
  3. Sep 24, 2004
  4. Sep 23, 2004
  5. Sep 22, 2004
  6. Sep 21, 2004
  7. Sep 20, 2004
  8. Sep 19, 2004
  9. Sep 18, 2004
  10. Sep 17, 2004
  11. Sep 05, 2004
  12. Sep 04, 2004
  13. Sep 03, 2004
  14. Sep 02, 2004
  15. Sep 01, 2004
  16. Aug 28, 2004
  17. Aug 27, 2004
  18. Aug 26, 2004
  19. Aug 25, 2004