summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_server_unittest.cc
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-27 19:13:36 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-27 19:13:36 +0000
commit6be52b9d4c99cba44fde417cff215018d1dad9db (patch)
tree0eddab971839fcf8d06c997896a6cb5216b1be4e /net/proxy/proxy_server_unittest.cc
parentb27f1620e996e18ecdc424e224a6763286a040ae (diff)
downloadchromium_src-6be52b9d4c99cba44fde417cff215018d1dad9db.zip
chromium_src-6be52b9d4c99cba44fde417cff215018d1dad9db.tar.gz
chromium_src-6be52b9d4c99cba44fde417cff215018d1dad9db.tar.bz2
Change the meaning of the command-line flag --proxy-server="socks://foo" to imply a SOCKS v5 proxy server rather than a SOCKS v4 proxy server.
BUG=56831 Review URL: http://codereview.chromium.org/3388021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/proxy/proxy_server_unittest.cc')
-rw-r--r--net/proxy/proxy_server_unittest.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/proxy/proxy_server_unittest.cc b/net/proxy/proxy_server_unittest.cc
index 2d470b1..7646467 100644
--- a/net/proxy/proxy_server_unittest.cc
+++ b/net/proxy/proxy_server_unittest.cc
@@ -114,22 +114,22 @@ TEST(ProxyServerTest, FromURI) {
"SOCKS5 foopy:10"
},
- // SOCKS proxy URIs (should default to SOCKS4)
+ // SOCKS proxy URIs (should default to SOCKS5)
{
"socks://foopy", // No port.
- "socks4://foopy:1080",
- net::ProxyServer::SCHEME_SOCKS4,
+ "socks5://foopy:1080",
+ net::ProxyServer::SCHEME_SOCKS5,
"foopy",
1080,
- "SOCKS foopy:1080"
+ "SOCKS5 foopy:1080"
},
{
"socks://foopy:10",
- "socks4://foopy:10",
- net::ProxyServer::SCHEME_SOCKS4,
+ "socks5://foopy:10",
+ net::ProxyServer::SCHEME_SOCKS5,
"foopy",
10,
- "SOCKS foopy:10"
+ "SOCKS5 foopy:10"
},
// HTTPS proxy URIs: