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

Unified Diff: net/http/http_network_transaction.cc

Issue 2109803002: Change a number of SPDY unittests from http to https. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index dd49437b4c5641a0563e595dbf4526b5f2369569..82668ddabe1b537dd53d815a534cd2529014734b 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -1216,8 +1216,7 @@ int HttpNetworkTransaction::DoReadHeadersComplete(int result) {
return OK;
}
- if (session_->params().enable_alternative_service_for_insecure_origins ||
- IsSecureRequest()) {
+ if (IsSecureRequest()) {
session_->http_stream_factory()->ProcessAlternativeServices(
session_, response_.headers.get(), url::SchemeHostPort(request_->url));
}

Powered by Google App Engine
This is Rietveld 408576698