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

Unified Diff: net/http/http_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_session.cc ('k') | net/spdy/spdy_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index ae1e86f47558a0736533568dff76c6c0ad2ace5a..749ab33745e4f41367f82f67afd9daf8d7d51a69 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -733,14 +733,6 @@ int HttpNetworkTransaction::DoInitConnection() {
using_spdy_ = false;
response_.was_fetched_via_proxy = !proxy_info_.is_direct();
- // Use the fixed testing ports if they've been provided.
- if (using_ssl_) {
- if (session_->fixed_https_port() != 0)
- endpoint_.set_port(session_->fixed_https_port());
- } else if (session_->fixed_http_port() != 0) {
- endpoint_.set_port(session_->fixed_http_port());
- }
-
// Check first if we have a spdy session for this group. If so, then go
// straight to using that.
if (session_->spdy_session_pool()->HasSession(endpoint_)) {
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/spdy/spdy_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698