]> git.ipfire.org Git - thirdparty/squid.git/commit
Make sure %<tt includes all [failed] connection attempts.
authorAlex Rousskov <rousskov@measurement-factory.com>
Sat, 29 Jun 2013 08:20:01 +0000 (02:20 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 29 Jun 2013 08:20:01 +0000 (02:20 -0600)
commit1cff1b07e69ee2779d37af4cdac6b0e60b5308b2
treed6e8dd2ef3f488487f47578b535068c222c2aaae
parentdded390e24a3d53702bb3fe160b5cd6d289bb374
Make sure %<tt includes all [failed] connection attempts.

The old code was using zero n_tries to detect the first connection
attempt,
but n_tries is not incremented when we are opening a new connection
rather
than reusing an old one. Perhaps n_tries should be updated differently
as
well, but this change simply makes %<tt (hier.total_response_time)
management
independent from that [complex] counter.
src/forward.cc