httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/modules/experimental mod_disk_cache.c
Date Sat, 02 Oct 2004 16:59:52 GMT
jerenkrantz    2004/10/02 09:59:52

  Modified:    .        CHANGES
               modules/experimental mod_disk_cache.c
  Log:
  mod_disk_cache: don't store hop-by-hop headers on-disk.
  
  Revision  Changes    Path
  1.1605    +2 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1604
  retrieving revision 1.1605
  diff -u -u -r1.1604 -r1.1605
  --- CHANGES	29 Sep 2004 17:45:30 -0000	1.1604
  +++ CHANGES	2 Oct 2004 16:59:52 -0000	1.1605
  @@ -2,6 +2,8 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) mod_disk_cache: Do not store hop-by-hop headers.  [Justin Erenkrantz]
  +
     *) mod_cache: Try to correctly follow RFC 2616 13.3 on validating stale
        cache responses.  [Justin Erenkrantz]
   
  
  
  
  1.66      +4 -1      httpd-2.0/modules/experimental/mod_disk_cache.c
  
  Index: mod_disk_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_disk_cache.c,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -u -r1.65 -r1.66
  --- mod_disk_cache.c	28 Sep 2004 17:37:54 -0000	1.65
  +++ mod_disk_cache.c	2 Oct 2004 16:59:52 -0000	1.66
  @@ -625,7 +625,10 @@
           /* Make call to the same thing cache_select_url calls to crack Vary. */
           /* @@@ Some day, not today. */
           if (r->headers_in) {
  -            rv = store_table(dobj->hfd, r->headers_in);
  +            apr_table_t *headers_in;
  +
  +            headers_in = ap_cache_cacheable_hdrs_out(r->pool, r->headers_in);
  +            rv = store_table(dobj->hfd, headers_in);
               if (rv != APR_SUCCESS) {
                   return rv;
               }
  
  
  

Mime
View raw message