
ma1 pushed to branch base-browser-128.11.0esr-14.5-1 at The Tor Project / Applications / Tor Browser Commits: 4d458475 by hackademix at 2025-05-27T00:19:32+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/tor-browser/-/commit/4d458475... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/4d458475... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
ma1 (@ma1)