From: Alexandre Chappaz Date: Tue, 26 Mar 2013 22:08:43 +0000 (-0600) Subject: Bug 3774: -k reconfigure drops rock X-Git-Tag: SQUID_3_4_0_1~219 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b69575d6000169401489df0208c92a4b4dd2a38f;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 da7e93d6b2..9485c8eca2 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... */