DNS cache is not flushed/re-initialized when toggling offline/online

RESOLVED FIXED

Status

()

Core
Networking: DNS
--
enhancement
RESOLVED FIXED
4 years ago
a year ago

People

(Reporter: bagder, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Related to Bug #939318

When switching to offline mode the DNSserver is set to offline mode, and when subsequently going online again DNSService->Init() is called. The latter however basically have no effect at that point. This will lead to the old cache surviving.

When for example using managed offline mode and switching to offline and online automatically when networks change, that's bad.

Possibly, a short-cut is to do mDNSService->Shutdown(); from nsIOService when going offline as that will force a proper re-init to happen on the subsequent online action.
(Reporter)

Comment 1

3 years ago
This is fixed now with bug 939318 being resolved.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.