You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Edward Rudd <ed...@omegaware.com> on 2004/10/18 03:06:54 UTC

[PATCH 31128] fix for CacheDisable in mod_cache

I've attached a patch for mod_cache that resolve bug #31128 where using
CacheDisable disables ALL caching not just the URL you specify.

Paul Querna has just committed this to CVS HEAD..

And I'm +1 for backporting this to 2.0.

--- mod_cache.c.bak	Thu Aug 26 11:59:44 2004
+++ mod_cache.c	Sun Oct 17 19:13:45 2004
@@ -835,7 +835,7 @@
                                      const char *url)
 {
     cache_server_conf *conf;
-    struct cache_enable *new;
+    struct cache_disable *new;
 
     conf =
         (cache_server_conf *)ap_get_module_config(parms->server->module_config,