]> git.ipfire.org Git - thirdparty/squid.git/commit - src/cache_cf.cc
Convert dns_timeout and dns_retransmit_interval configuration options to use millisec...
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 15 Mar 2011 17:31:34 +0000 (19:31 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Tue, 15 Mar 2011 17:31:34 +0000 (19:31 +0200)
commitfd0f51c4480a19a03d30d0f3fcecd69f5257c293
treef645d53a70a5e341f1bf3f0e309dfb96e40291da
parent4e6de170917ba9b5e7e80fa4fc0b7d7cbad2f5ae
Convert dns_timeout and dns_retransmit_interval configuration options to use millisecond resolution.

One second resolution is too coarse for small timeouts in delay-sensitive
environments, especially when a retransmit, bypass, or another corrective
action is available and is likely to produce a positive outcome. In DNS world
specifically, most timeouts are measured in milliseconds.

This is a Measurement Factory project
src/cache_cf.cc
src/cf.data.depend
src/cf.data.pre
src/dns_internal.cc
src/structs.h
src/typedefs.h