]> granicus.if.org Git - apache/commitdiff
Ensure that we call ap_meets_conditions() in the mod_cache normal handler
authorGraham Leggett <minfrin@apache.org>
Sun, 4 Oct 2009 16:03:03 +0000 (16:03 +0000)
committerGraham Leggett <minfrin@apache.org>
Sun, 4 Oct 2009 16:03:03 +0000 (16:03 +0000)
case, so that conditional requests are handled properly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821552 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_cache.c

index 6dbb56d20cceb8e838779a3d0bec0b5a1ac4bfd5..3df61c3873f3a1b34507fab9f9023b2d634d1c57 100644 (file)
@@ -463,6 +463,11 @@ static int cache_handler(request_rec *r)
         return DECLINED;
     }
 
+    rv = ap_meets_conditions(r);
+    if (rv != OK) {
+        return rv;
+    }
+
     /* Serve up the content */
 
     /*