ma1 pushed to branch mullvad-browser-128.11.0esr-14.5-1 at The Tor Project / 
Applications / Mullvad Browser


Commits:
c2d76dab by hackademix at 2025-05-27T00:04:55+02:00
fixup! Bug 1914583 - Block IPAddrAny on H3 code path. r=necko-reviewers,kershaw

Remove glean references.

- - - - -


1 changed file:

- netwerk/protocol/http/HttpConnectionUDP.cpp


Changes:

=====================================
netwerk/protocol/http/HttpConnectionUDP.cpp
=====================================
@@ -19,7 +19,6 @@
 
 #include "ASpdySession.h"
 #include "mozilla/StaticPrefs_network.h"
-#include "mozilla/glean/NetwerkMetrics.h"
 #include "mozilla/Telemetry.h"
 #include "HttpConnectionUDP.h"
 #include "nsHttpHandler.h"
@@ -93,16 +92,9 @@ nsresult HttpConnectionUDP::Init(nsHttpConnectionInfo* info,
   // See https://github.com/whatwg/fetch/pull/1763 for context.
   if (peerAddr.IsIPAddrAny()) {
     if (StaticPrefs::network_socket_ip_addr_any_disabled()) {
-      mozilla::glean::networking::http_ip_addr_any_count
-          .Get("blocked_requests"_ns)
-          .Add(1);
       LOG(("Connection refused because of 0.0.0.0 IP address\n"));
       return NS_ERROR_CONNECTION_REFUSED;
     }
-
-    mozilla::glean::networking::http_ip_addr_any_count
-        .Get("not_blocked_requests"_ns)
-        .Add(1);
   }
 
   mSocket = do_CreateInstance("@mozilla.org/network/udp-socket;1", &rv);



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

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


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to