]> git.ipfire.org Git - thirdparty/squid.git/commit
Prevented STORE_DISK_CLIENT assertions for aborted entries. Polished code.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 30 Jul 2013 17:10:57 +0000 (11:10 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 30 Jul 2013 17:10:57 +0000 (11:10 -0600)
commitf25d697fa8eba099303cbb0e63df7fc5c99fa771
tree91f770b1cbf477ffe3d279c064a7a8c46502b202
parent01aed79c466257a5c7c5ee0104224bd2d4107724
Prevented STORE_DISK_CLIENT assertions for aborted entries. Polished code.

To prevent store_client.cc:445: "STORE_DISK_CLIENT == getType()" assertions,
rewrote the storeClientNoMoreToSend() function so that it does not send a
STORE_MEM_CLIENT to read from disk. Used this opportunity to polish this
negative function code and convert it into a positive method.

Documented known (and mostly old) StoreEntry::storeClientType() problems.
src/StoreClient.h
src/store.cc
src/store_client.cc