[Bug 367531]

Adam Dane 367531 at bugs.launchpad.net
Sat Apr 28 00:23:11 UTC 2012


Created attachment 619220
netwerk: Add offline mode to DNS service and STS.  Add RESOLVE_OFFLINE flag for nsHostResolver.

When the STS is offline, the socket thread detects that and calls
|Reset()|, which detaches the sockets.  If not shutting down, it only
detaches non-local sockets.

When the DNS service is offline, it adds a new RESOLVE_OFFLINE flag to
calls to |nsHostResolver::ResolveHost()|.  This flag restricts
resolution to literals and cached entries.

Should |nsHostResolver::ResolveHost()| still try to resolve when
RESOLVE_OFFLINE, but only return loopback records (to allow local
hostnames like "localhost")?

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.
https://bugs.launchpad.net/bugs/367531

Title:
  firefox should be smarter about offline access

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/367531/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list