]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed two more cases of outdated shared memory cache detection
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 2 Nov 2011 21:18:50 +0000 (15:18 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 2 Nov 2011 21:18:50 +0000 (15:18 -0600)
commita2c86cbda4632f4f8294b5ee7cdc869115e85516
tree3fee45874f25fdfbe48aa67cdf06ed9262663c83
parent605f2c3ee96a62585efb7c59850b04be9c17e1ac
Fixed two more cases of outdated shared memory cache detection
which led to "STORE_DISK_CLIENT == getType()" assertions
when running SMP Squid with non-shared memory caching.

UsingSmp() is not the right condition to detect whether we are using a shared
memory cache because shared memory caching may be disabled and because
Coordinator does not use a shared memory cache even if shared caching is
enabled.

See also: r11821.
src/store.cc