httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1021543 - /httpd/httpd/trunk/modules/cache/mod_cache.c
Date Mon, 11 Oct 2010 23:21:15 GMT
Author: minfrin
Date: Mon Oct 11 23:21:14 2010
New Revision: 1021543

URL: http://svn.apache.org/viewvc?rev=1021543&view=rev
Log:
Fix the lookup of the per-directory cache config, we were looking up the
per-server config instead.

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=1021543&r1=1021542&r2=1021543&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Mon Oct 11 23:21:14 2010
@@ -731,7 +731,7 @@ static int cache_save_filter(ap_filter_t
      * all. This section is* run before the above section.
      */
 
-    dconf = ap_get_module_config(r->server->module_config, &cache_module);
+    dconf = ap_get_module_config(r->per_dir_config, &cache_module);
 
     /* read expiry date; if a bad date, then leave it so the client can
      * read it



Mime
View raw message