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

Unified Diff: net/http/http_network_session.cc

Issue 2097123002: QUIC - Race Cert Verification with host resolution if certs are (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Race cert verification. 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
« no previous file with comments | « net/http/http_network_session.h ('k') | net/log/net_log_event_type_list.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 d39b05903565e0663ffdc8214fcba4342457eba1..d1e66483d6b202e819ba1dbc7ba80bb2a0687ca6 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -130,6 +130,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/log/net_log_event_type_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698