]> git.ipfire.org Git - thirdparty/squid.git/commit
Preserve caller context across Store data delivery (#543)
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 24 Jan 2020 03:41:38 +0000 (03:41 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 24 Jan 2020 15:55:50 +0000 (15:55 +0000)
commitf925268a4428141abef4aec8d9327e02b207870a
tree1ace53e39770c6699570c3b37899f51a7428578a
parent6fa8c66435d55a2e713db0222cdca3a9dccf5bbe
Preserve caller context across Store data delivery (#543)

StoreEntry::invokeHandlers() sends a recently loaded response data to
the waiting store_clients. During concurrent cache hits (including, but
not limited to collapsed ones), the response can be loaded into Store by
one transaction and delivered to several different transactions (i.e.
store_clients). This Store "hit sharing service" must restore the
context of the transactions it serves.
src/StoreClient.h
src/store_client.cc