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
1 changed file:
Changes:
... | ... | @@ -19,7 +19,6 @@ |
19 | 19 | |
20 | 20 | #include "ASpdySession.h"
|
21 | 21 | #include "mozilla/StaticPrefs_network.h"
|
22 | -#include "mozilla/glean/NetwerkMetrics.h"
|
|
23 | 22 | #include "mozilla/Telemetry.h"
|
24 | 23 | #include "HttpConnectionUDP.h"
|
25 | 24 | #include "nsHttpHandler.h"
|
... | ... | @@ -93,16 +92,9 @@ nsresult HttpConnectionUDP::Init(nsHttpConnectionInfo* info, |
93 | 92 | // See https://github.com/whatwg/fetch/pull/1763 for context.
|
94 | 93 | if (peerAddr.IsIPAddrAny()) {
|
95 | 94 | if (StaticPrefs::network_socket_ip_addr_any_disabled()) {
|
96 | - mozilla::glean::networking::http_ip_addr_any_count
|
|
97 | - .Get("blocked_requests"_ns)
|
|
98 | - .Add(1);
|
|
99 | 95 | LOG(("Connection refused because of 0.0.0.0 IP address\n"));
|
100 | 96 | return NS_ERROR_CONNECTION_REFUSED;
|
101 | 97 | }
|
102 | - |
|
103 | - mozilla::glean::networking::http_ip_addr_any_count
|
|
104 | - .Get("not_blocked_requests"_ns)
|
|
105 | - .Add(1);
|
|
106 | 98 | }
|
107 | 99 | |
108 | 100 | mSocket = do_CreateInstance("@mozilla.org/network/udp-socket;1", &rv);
|