[Bug 403411] Re: firefox completely freezes up for 30 seconds on DNS server down

Gavin McCullagh gmccullagh at gmail.com
Thu Jul 23 09:13:14 UTC 2009


Ah.  One critical further detail I should add.

I administer the network and am playing with a wpad.dat script at the
moment.  That script was in use when I saw this problem.  This script is
below, but the main point is that a DNS request must be completed before
the script can complete.  This script obviously works on every http
object downloaded, including the image that's causing the issue.

Is it possible to set a timeout on the dns request?

Gavin

function FindProxyForURL(url,host)
{
        var collegenet = "172.16.0.0";   var collegenetmask = "255.252.0.0";
        var dmznet     = "172.20.0.0";   var dmznetmask     = "255.255.252.0";

        // all DMZs and college networks
        if( isInNet(host, collegenet, collegenetmask)
            || isInNet(host, dmznet, dmznetmask) ) {
                return "DIRECT";
        }

        // for everything else....
        return "PROXY proxy.staff.gcd.ie:8080";
}


** Summary changed:

- firefox completely freezes up for 30 seconds on DNS server down
+ DNS SERVFAIL in wpad.dat causes freeze up for 30 seconds

-- 
DNS SERVFAIL in wpad.dat causes freeze up for 30 seconds
https://bugs.launchpad.net/bugs/403411
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox-3.0 in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list