]> git.ipfire.org Git - thirdparty/squid.git/commit
Log the number of request sending attempts (#541)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Fri, 6 Jan 2023 20:32:17 +0000 (20:32 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 6 Jan 2023 20:32:24 +0000 (20:32 +0000)
commite7a9b7a8025ef4ecfca5e656760107cf369dd172
treeb7861617f431f314a25c21b7707dcbc06ede914f
parentd68a8417410df8d1fe7b9d9d3ea193b91c3859ad
Log the number of request sending attempts (#541)

Squid retries certain request forwarding failures. When the problem is
persistent, and there are many peers (or the origin server has many
IPs), many retries are possible. Absence of Squid-server transaction log
hides these retries from admins. The new logformat code helps discover
and triage problems, especially when Squid retries many times.
src/AccessLogEntry.h
src/FwdState.cc
src/FwdState.h
src/cf.data.pre
src/format/ByteCode.h
src/format/Format.cc
src/format/Token.cc
src/tunnel.cc