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

Unified Diff: chrome/browser/net/preconnect.cc

Issue 1387363004: Disable HTTP/2 over NPN (with OpenSSL). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re: #7. Created 5 years, 2 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 | chrome/browser/resources/net_internals/spdy_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/preconnect.cc
diff --git a/chrome/browser/net/preconnect.cc b/chrome/browser/net/preconnect.cc
index 17673c31bed256fdd2dc02dca27964b8938d7905..eb06625c9943441d4f90f8084d6337ec96f8de68 100644
--- a/chrome/browser/net/preconnect.cc
+++ b/chrome/browser/net/preconnect.cc
@@ -103,7 +103,8 @@ void PreconnectOnIOThread(const GURL& url,
// Setup the SSL Configuration.
net::SSLConfig ssl_config;
session->ssl_config_service()->GetSSLConfig(&ssl_config);
- session->GetNextProtos(&ssl_config.next_protos);
+ session->GetAlpnProtos(&ssl_config.alpn_protos);
+ session->GetNpnProtos(&ssl_config.npn_protos);
// All preconnects should perform EV certificate verification.
ssl_config.verify_ev_cert = true;
« no previous file with comments | « no previous file | chrome/browser/resources/net_internals/spdy_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698