From: Alexandre Chappaz Date: Fri, 29 Mar 2013 05:57:55 +0000 (-0600) Subject: Bug 3774: -k reconfigure drops rock X-Git-Tag: SQUID_3_3_4~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27cdc490130b675f397377c02502076c1b66000f;p=thirdparty%2Fsquid.git Bug 3774: -k reconfigure drops rock This fix keeps Rock cache_dirs visible to Cache Manager after reconfigure. We still lack proper support for complex reconfiguration changes involving cache_dirs. --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index d480969a32..35cac6efdf 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -655,6 +655,7 @@ configDoConfigure(void) memConfigure(); /* Sanity checks */ + Config.cacheSwap.n_strands = 0; // no diskers by default if (Config.cacheSwap.swapDirs == NULL) { /* Memory-only cache probably in effect. */ /* turn off the cache rebuild delays... */