From: Alexandre Chappaz Date: Fri, 29 Mar 2013 06:54:15 +0000 (-0600) Subject: Bug 3774: -k reconfigure drops rock X-Git-Tag: SQUID_3_2_10~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010983023a84a36d1894c1f4730470c704f7dd14;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 bf2bd20db8..da1d0bed56 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -600,6 +600,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... */