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 2011/08/15 22:09:40 UTC
svn commit: r1157976 - in /httpd/httpd/trunk: CHANGES
modules/cache/mod_cache.c
Author: minfrin
Date: Mon Aug 15 20:09:38 2011
New Revision: 1157976
URL: http://svn.apache.org/viewvc?rev=1157976&view=rev
Log:
mod_cache: Fix the moving of the CACHE filter, which erroneously
stood down if the original filter was not added by configuration.
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/modules/cache/mod_cache.c
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1157976&r1=1157975&r2=1157976&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Mon Aug 15 20:09:38 2011
@@ -1,6 +1,10 @@
-*- coding: utf-8 -*-
Changes with Apache 2.3.15
+ *) mod_cache: Fix the moving of the CACHE filter, which erroneously
+ stood down if the original filter was not added by configuration.
+ [Graham Leggett]
+
*) mod_ssl: improve certificate error logging. PR 47408. [Kaspar Brand]
*) mod_authz_groupfile: Increase length limit of lines in the group file to
Modified: httpd/httpd/trunk/modules/cache/mod_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache.c?rev=1157976&r1=1157975&r2=1157976&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Mon Aug 15 20:09:38 2011
@@ -320,10 +320,10 @@ static int cache_replace_filter(ap_filte
ap_filter_rec_t *to, ap_filter_rec_t *stop) {
ap_filter_t *ffrom = NULL, *fto = NULL;
while (next && next->frec != stop) {
- if (next->frec == from && !next->ctx) {
+ if (next->frec == from) {
ffrom = next;
}
- if (next->frec == to && !next->ctx) {
+ if (next->frec == to) {
fto = next;
}
next = next->next;