[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.2.0esr-14.0-1] fixup! Bug 40933: Add tor-launcher functionality

morgan (@morgan) git at gitlab.torproject.org
Thu Sep 5 04:53:55 UTC 2024



morgan pushed to branch tor-browser-128.2.0esr-14.0-1 at The Tor Project / Applications / Tor Browser


Commits:
d9a1747d by Pier Angelo Vendrame at 2024-09-05T04:52:30+00:00
fixup! Bug 40933: Add tor-launcher functionality

Bug 43116: Do not run GeoIP queries on Android.

They are known for not working, since we are not shipping the GeoIP
databases to save space. So, avoid spamming the console with warnings.

- - - - -


1 changed file:

- toolkit/components/tor-launcher/TorProvider.sys.mjs


Changes:

=====================================
toolkit/components/tor-launcher/TorProvider.sys.mjs
=====================================
@@ -434,7 +434,9 @@ export class TorProvider {
     } else {
       node.ipAddrs = await this.#controller.getNodeAddresses(id);
     }
-    if (node.ipAddrs.length) {
+    // tor-browser#43116, tor-browser-build#41224: on Android, we do not ship
+    // the GeoIP databases to save some space. So skip it for now.
+    if (node.ipAddrs.length && !TorLauncherUtil.isAndroid) {
       // Get the country code for the node's IP address.
       try {
         // Expect a 2-letter ISO3166-1 code, which should also be a valid



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d9a1747da59d484843ab03cf23b7b58fbbae5811

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/d9a1747da59d484843ab03cf23b7b58fbbae5811
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20240905/5c8af431/attachment-0001.htm>


More information about the tor-commits mailing list