Re: [squid-users] Timeouts/browser hang with "autodetect proxy"

From: Adrian Chadd <adrian@dont-contact.us>
Date: Fri, 9 Mar 2007 08:04:42 +0800

On Thu, Mar 08, 2007, Brian Riffle wrote:
> I am having an issue with timeouts using squid with both IE and
> Firefox when using "auto detect proxy" When I am autodetecting the
> proxy server, if I type in an invalid domain name (like google.comm,
> or googlec.om, etc) it will take upwards of 20 seconds to timeout, and

Two things:

Firstly, time how long it takes the configured DNS servers to resolve
an invalid name like googlec.om; see how long it takes.
See if its even giving a reply!

Then I'd check these rules out:

> if (isInNet(host, "192.168.5.0", "255.255.255.0")) {return
> "DIRECT";}
> if (isInNet(host, "192.168.42.0", "255.255.255.0")) {return

.. etc;

as this causes the browser to do a DNS lookup. I haven't looked into
it to see whether DNS lookups are done for -each- of those isInNet()
or whether its cached (which you'd kind of hope!)

Adrian
Received on Thu Mar 08 2007 - 16:55:53 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:01 MDT