Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: net/base/net_util.cc

Issue 1398002: Update table of blocked ports to keep in sync with upstream (Closed)
Patch Set: now really remove DEPS Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.cc
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index ff19d3e7a3a24eac7e2de28fa093aa7601cbdc5a..aa2cb1bbb125fd755336760abaf6f2a5d8ba7e1a 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -131,6 +131,13 @@ static const int kRestrictedPorts[] = {
3659, // apple-sasl / PasswordServer
4045, // lockd
6000, // X11
+ 6665, // Alternate IRC [Apple addition]
+ 6666, // Alternate IRC [Apple addition]
+ 6667, // Standard IRC [Apple addition]
+ 6668, // Alternate IRC [Apple addition]
+ 6669, // Alternate IRC [Apple addition]
+ 0xFFFF, // Used to block all invalid port numbers (see
+ // third_party/WebKit/WebCore/platform/KURLGoogle.cpp, port())
};
// FTP overrides the following restricted ports.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698