On 24/09/2013 9:04 a.m., Mark Davies wrote:
Some time ago I set connect_timeout down to 10 seconds because we were
hitting various sites that were advertising v6 addresses but not listening
on them and it seemed that in this day and age connect times were
generally under a second but now we've found a site
(http://inspirehep.net) that some of our users use heavily that regularly
can take over 20 seconds to connect so we've gone back to the default
setting. Any way we can deal with both situations at once?
cheers
mark
The patch in here (for 3.2 and later) may be of some interest:
http://bugs.squid-cache.org/show_bug.cgi?id=3901
It is not yet in any releases because there are some questions about how
it works with some of the special edge case uses of the
tcp_outgoing_address code.
Amos