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

Re: PAC/WPAD with Iceweasel is horribly slow



Dear Petter, dear list,

this bug was reported to firefox BTS years ago, and is still there.
https://bugzilla.mozilla.org/show_bug.cgi?id=235853#c260

With Firefox 11 or later (Windows WS), colleagues experience
regular timeouts. Well, I will try to use your alternative syntax,
and then, we have to discuss alternatives (or contribute a patch).

Kind regards
Ralf

Am Donnerstag, 2. Februar 2012 schrieb Petter Reinholdtsen:
> [Petter Reinholdtsen]
> > By moving away /etc/debian-edu/www/wpad.dat on the main server, the
> > browser stop using the squid proxy and become responsive.  The
> > problem is with DNS lookups and wpad handling in Firefox, which
> > block the entire browser.
> 
> The current wpad.dat look like this:
> 
>   function FindProxyForURL(url, host)
>     {
>         if (!isResolvable(host) ||
>             isPlainHostName(host) ||
>             dnsDomainIs(host, ".intern"))
>             return "DIRECT";
>         else
>             return "PROXY webcache:3128; DIRECT";
>     }
> 
> The browser seem to become quicker by changing this to a simpler one:
> 
>   function FindProxyForURL(url, host)
>     {
>         return "PROXY webcache:3128; DIRECT";
>     }
> 
> Can you test if this help for you too?  Replace the file
> /etc/debian-edu/www/wpad.dat with this simpler one, and see if it work
> as you want it to.  Is it a problem to use the proxy for everything,
> also for non-resolvable addresses and for local addresses?
> 


Reply to: