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 2009/10/04 18:03:03 UTC
svn commit: r821552 - /httpd/httpd/trunk/modules/cache/mod_cache.c
Author: minfrin
Date: Sun Oct 4 16:03:03 2009
New Revision: 821552
URL: http://svn.apache.org/viewvc?rev=821552&view=rev
Log:
Ensure that we call ap_meets_conditions() in the mod_cache normal handler
case, so that conditional requests are handled properly.
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=821552&r1=821551&r2=821552&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache.c Sun Oct 4 16:03:03 2009
@@ -463,6 +463,11 @@
return DECLINED;
}
+ rv = ap_meets_conditions(r);
+ if (rv != OK) {
+ return rv;
+ }
+
/* Serve up the content */
/*