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

Unified Diff: net/test/test_server.cc

Issue 3412031: GTTF: Use different port number for all types of TestServer. (Closed)
Patch Set: fixes Created 10 years, 3 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/test/test_server.cc
diff --git a/net/test/test_server.cc b/net/test/test_server.cc
index 536d3517ea87c53e50c35b61f952a23fef8edebe..f4eb64fd7957eaab1b457bf35708017ee6d15ab0 100644
--- a/net/test/test_server.cc
+++ b/net/test/test_server.cc
@@ -47,11 +47,15 @@ int GetPortBase(net::TestServer::Type type) {
case net::TestServer::TYPE_HTTP:
return 1337;
case net::TestServer::TYPE_HTTPS:
+ return 9443;
case net::TestServer::TYPE_HTTPS_CLIENT_AUTH:
+ return 9543;
case net::TestServer::TYPE_HTTPS_EXPIRED_CERTIFICATE:
- return 9443;
- case net::TestServer::TYPE_HTTPS_MISMATCHED_HOSTNAME:
+ // TODO(phajdan.jr): Some tests rely on this hardcoded value.
+ // Some uses of this are actually in .html/.js files.
return 9666;
+ case net::TestServer::TYPE_HTTPS_MISMATCHED_HOSTNAME:
+ return 9643;
default:
NOTREACHED();
}
« 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