]> git.ipfire.org Git - thirdparty/squid.git/commit
Make sure %<tt includes all [failed] connection attempts.
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 18 Jun 2013 22:30:39 +0000 (16:30 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 18 Jun 2013 22:30:39 +0000 (16:30 -0600)
commita122fdeb98cd8ec945765bf8d8f7a0253f745f6a
tree5d5bc7f0e8f8027fd600f547a10681c050025b8b
parent4747ea4c85cdc60e5668592f2915528c4af563b9
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/FwdState.cc