]> git.ipfire.org Git - thirdparty/squid.git/commit
Docs: %adapt::sum_trs entries may well exceed %icap::tt (#914)
authorAlex Rousskov <rousskov@measurement-factory.com>
Sat, 30 Oct 2021 11:41:10 +0000 (11:41 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 30 Oct 2021 15:41:17 +0000 (15:41 +0000)
commit40dc90df00a73f90fbce3e34ae76d133996ee80a
tree36ce5c58de6a4383f4323d1a684791423bb125d4
parent1560ae8247845484ee5eba0926183626489a4bb5
Docs: %adapt::sum_trs entries may well exceed %icap::tt (#914)

%icap::tt documentation incorrectly implied that the measurement
includes the entire ICAP transaction(s) lifetime. In reality, individual
ICAP transaction contribution stops with
Adaptation::Icap::ModXactLauncher::swanSong(), which is normally
triggered by Adaptation::Icap::Launcher::noteAdaptationAnswer(). Here,
the "answer" does not include the entire ICAP response, but just enough
information to form adapted HTTP message headers (echoed or received).
Thus, a large or slow ICAP response body may result in %adapt::sum_trs
values that far exceed the corresponding %icap::tt "total".

This change does not imply that %icap::tt should (not) work differently.

Also fixed a typo in %adapt::all_trs and polished %adapt::sum_trs docs.
src/cf.data.pre