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

Unified Diff: net/http/http_network_session.cc

Issue 2129263002: Revert "Revert of QUIC - Race Cert Verification with host resolution if (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cronet unittest Created 4 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.h ('k') | net/quic/crypto/proof_verifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 081d82903a77748ed82d1f3f277b9846badf913e..9a15244fae0c061d7759a64708bd1b2e65e43ca6 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -129,6 +129,7 @@ HttpNetworkSession::Params::Params()
quic_migrate_sessions_on_network_change(false),
quic_migrate_sessions_early(false),
quic_disable_bidirectional_streams(false),
+ quic_race_cert_verification(false),
proxy_delegate(NULL),
enable_token_binding(false) {
quic_supported_versions.push_back(QUIC_VERSION_34);
@@ -187,6 +188,7 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
params.quic_idle_connection_timeout_seconds,
params.quic_migrate_sessions_on_network_change,
params.quic_migrate_sessions_early,
+ params.quic_race_cert_verification,
params.quic_connection_options,
params.enable_token_binding),
spdy_session_pool_(params.host_resolver,
@@ -345,6 +347,8 @@ std::unique_ptr<base::Value> HttpNetworkSession::QuicInfoToValue() const {
params_.disable_quic_on_timeout_with_open_streams);
dict->SetString("disabled_reason",
quic_stream_factory_.QuicDisabledReasonString());
+ dict->SetBoolean("race_cert_verification",
+ params_.quic_race_cert_verification);
return std::move(dict);
}
« no previous file with comments | « net/http/http_network_session.h ('k') | net/quic/crypto/proof_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698