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

Unified Diff: net/spdy/spdy_network_transaction.cc

Issue 3041019: Remove --testing-fixed-http-port and --testing-fixed-https-port. (Closed)
Patch Set: Remove use of --testing-fixed-http-port and --testing-fixed-https-port Created 10 years, 5 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 | « net/http/http_network_transaction.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_network_transaction.cc
diff --git a/net/spdy/spdy_network_transaction.cc b/net/spdy/spdy_network_transaction.cc
index fa8ba58228fff7b71ea2c05a3ceb8f04fb6a31ab..6e0c930433e7e8d340481c6e9b4ec200fa025ec3 100644
--- a/net/spdy/spdy_network_transaction.cc
+++ b/net/spdy/spdy_network_transaction.cc
@@ -221,15 +221,6 @@ int SpdyNetworkTransaction::DoInitConnection() {
std::string host = request_->url.HostNoBrackets();
int port = request_->url.EffectiveIntPort();
- // Use the fixed testing ports if they've been provided. This is useful for
- // debugging.
- if (SpdySession::SSLMode()) {
- if (session_->fixed_https_port() != 0)
- port = session_->fixed_https_port();
- } else if (session_->fixed_http_port() != 0) {
- port = session_->fixed_http_port();
- }
-
std::string connection_group = "spdy.";
HostPortPair host_port_pair(host, port);
connection_group.append(host_port_pair.ToString());
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698