Search squid archive

Re: Timeouts/browser hang with "autodetect proxy"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux