httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r821552 - /httpd/httpd/trunk/modules/cache/mod_cache.c
Date Sun, 04 Oct 2009 16:03:03 GMT
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 */
 
     /*



Mime
View raw message