bug 1471156 - double the DNS cache size to 800 entries r?mcmanus
... but leave it at 400 for Android.
MozReview-Commit-ID: 1Tni6zWrYNL
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1991,17 +1991,21 @@ pref("network.IDN.blacklist_chars", "\u0
// IPv4 only. Works around broken DNS servers which can't handle IPv6 lookups
// and/or allows the user to disable IPv6 on a per-domain basis. See bug 68796.
pref("network.dns.ipv4OnlyDomains", "");
// This preference can be used to turn off IPv6 name lookups. See bug 68796.
pref("network.dns.disableIPv6", false);
// This is the number of dns cache entries allowed
+#ifdef ANDROID
pref("network.dnsCacheEntries", 400);
+#else
+pref("network.dnsCacheEntries", 800);
+#endif
// In the absence of OS TTLs, the DNS cache TTL value
pref("network.dnsCacheExpiration", 60);
// Get TTL; not supported on all platforms; nop on the unsupported ones.
pref("network.dns.get-ttl", true);
// For testing purposes! Makes the native resolver resolve IPv4 "localhost"