You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2010/10/12 01:21:15 UTC
svn commit: r1021543 - /httpd/httpd/trunk/modules/cache/mod_cache.c
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