httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r649179 - /httpd/httpd/trunk/modules/cache/mod_cache.c
Date Thu, 17 Apr 2008 16:40:18 GMT
Author: dirkx
Date: Thu Apr 17 09:40:10 2008
New Revision: 649179

URL: http://svn.apache.org/viewvc?rev=649179&view=rev
Log:
Centralize hop-by-hop header handling in the main mod_cache code. This change is a no-op --
i.e. we call the same code path as prior to the API renaming. However this is propably wrong;
and we should have been cleansing the content-types all along

Modified:
    httpd/httpd/trunk/modules/cache/mod_cache.c

Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache.c?rev=649179&r1=649178&r2=649179&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Thu Apr 17 09:40:10 2008
@@ -759,7 +759,11 @@
          */
         r->headers_out = apr_table_overlay(r->pool, r->headers_out,
                                            r->err_headers_out);
-        r->headers_out = ap_cache_cacheable_hdrs_out(r->pool, r->headers_out,
+
+	/* XXX check -- we're not patching up content-type - i.e. this
+         *     propably should be ap_cache_cacheable_headers_out().
+         */
+        r->headers_out = ap_cache_cacheable_headers(r->pool, r->headers_out,
                                                      r->server);
         apr_table_clear(r->err_headers_out);
 



Mime
View raw message