]> git.ipfire.org Git - thirdparty/squid.git/commit
Improved STORE_MEM_CLIENT detection.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Jul 2013 00:27:23 +0000 (18:27 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 29 Jul 2013 00:27:23 +0000 (18:27 -0600)
commita96fb63db6910a05e64716741f452e93d9060c7b
treeded7690c9fcad3f229b1b72a4950c60efe41e5ef
parent2d4dea47354166b5be6dd069d200a35a2c8ddc13
Improved STORE_MEM_CLIENT detection.

IN_MEMORY mem_status does not guarantee that the entore object is in the
memory cache. We may be just loading it from a shared memrory cache, and
loading may fail. We may have nibbled at the entry already (although that may
not be possible, not sure). The whole memory/disk store_client designation
probably needs more work, but the now-removed condition was causing
store_client.cc:445: "STORE_DISK_CLIENT == getType()" assertions.
src/store.cc