Closed Bug 1444858 Opened 6 years ago Closed 6 years ago

TRR: respect network.dns.disableIPv6

Categories

(Core :: Networking: DNS, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bagder, Assigned: bagder)

Details

(Whiteboard: [necko-triaged][trr])

Attachments

(1 file)

network.dns.disableIPv6 set to false means no IPv6 should be asked for with DNS, including TRR!
Comment on attachment 8958079 [details]
bug 1444858 - TRR: respect network.dns.disableIPv6

https://reviewboard.mozilla.org/r/227030/#review232760

::: netwerk/dns/TRRService.cpp:206
(Diff revision 1)
>      bool tmp;
>      if (NS_SUCCEEDED(Preferences::GetBool(TRR_PREF("early-AAAA"), &tmp))) {
>        mEarlyAAAA = tmp;
>      }
>    }
> +  if (!name || !strcmp(name, "network.dns.disableIPv6")) {

Do we want to add an Observer as well?
Attachment #8958079 - Flags: review?(valentin.gosu) → review+
Comment on attachment 8958079 [details]
bug 1444858 - TRR: respect network.dns.disableIPv6

https://reviewboard.mozilla.org/r/227030/#review232760

> Do we want to add an Observer as well?

Oops, yes we do. Good catch. Will fix.
Pushed by daniel@haxx.se:
https://hg.mozilla.org/integration/autoland/rev/8ce40b123f12
TRR: respect network.dns.disableIPv6 r=valentin
https://hg.mozilla.org/mozilla-central/rev/8ce40b123f12
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: