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

Unified Diff: net/http/http_network_session.cc

Issue 110853010: Enable support for QUIC 13. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix android Created 7 years 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/net.gyp » ('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 1be93fe5c3f39fbfa55fc5923ae1837584ddbd0b..533c39f7131f164ab0f564c26b269374c277cd1d 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -87,6 +87,7 @@ HttpNetworkSession::Params::Params()
quic_max_packet_length(kDefaultMaxPacketSize),
enable_user_alternate_protocol_ports(false),
quic_crypto_client_stream_factory(NULL) {
+ quic_supported_versions.push_back(QUIC_VERSION_12);
}
HttpNetworkSession::Params::~Params() {}
@@ -115,7 +116,8 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
QuicRandom::GetInstance(),
params.quic_clock ? params. quic_clock :
new QuicClock(),
- params.quic_max_packet_length),
+ params.quic_max_packet_length,
+ params.quic_supported_versions),
spdy_session_pool_(params.host_resolver,
params.ssl_config_service,
params.http_server_properties,
« no previous file with comments | « net/http/http_network_session.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698