]> git.ipfire.org Git - thirdparty/squid.git/commit
Work around some mgr:forward accounting/reporting bugs (#1969)
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 31 Dec 2024 21:59:05 +0000 (21:59 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 31 Dec 2024 21:59:10 +0000 (21:59 +0000)
commit32218e04a5b647ebccaf36703b0087e438e62c3c
treedbeffc42fb3cc39f4810b80d2db1070f7bed18f9
parent6e2dbb99ca5e9e1f11c2e577f7b377c03d7deaaf
Work around some mgr:forward accounting/reporting bugs (#1969)

In modern code, FwdReplyCodes[0][i] is usually zero because n_tries is
usually at least one at logReplyStatus() call time. This leads to
mgr:forward report showing nothing but table heading (i.e. no stats)

Also improve `try#N` heading:data match by skipping FwdReplyCodes[0]
reporting (there is still no `try#0` heading) and adding a previously
missing `try#9` heading
src/FwdState.cc