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

Unified Diff: net/spdy/chromium/spdy_session_pool.cc

Issue 2955673002: Filter QUIC alternative service if the versions advertised by the server (Closed)
Patch Set: address comments #7 Created 3 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/spdy/chromium/spdy_session_pool.h ('k') | net/spdy/chromium/spdy_session_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/chromium/spdy_session_pool.cc
diff --git a/net/spdy/chromium/spdy_session_pool.cc b/net/spdy/chromium/spdy_session_pool.cc
index a2ff1402ce84c5e60c9a8bca0915a89972baa881..db63e4a2ad72ab1a0cc4c1f832c30d80c4e230b0 100644
--- a/net/spdy/chromium/spdy_session_pool.cc
+++ b/net/spdy/chromium/spdy_session_pool.cc
@@ -50,6 +50,7 @@ SpdySessionPool::SpdySessionPool(
SSLConfigService* ssl_config_service,
HttpServerProperties* http_server_properties,
TransportSecurityState* transport_security_state,
+ const QuicVersionVector& quic_supported_versions,
bool enable_ping_based_connection_checking,
size_t session_max_recv_window_size,
const SettingsMap& initial_settings,
@@ -59,6 +60,7 @@ SpdySessionPool::SpdySessionPool(
transport_security_state_(transport_security_state),
ssl_config_service_(ssl_config_service),
resolver_(resolver),
+ quic_supported_versions_(quic_supported_versions),
enable_sending_initial_data_(true),
enable_ping_based_connection_checking_(
enable_ping_based_connection_checking),
@@ -102,9 +104,10 @@ base::WeakPtr<SpdySession> SpdySessionPool::CreateAvailableSessionFromSocket(
auto new_session = base::MakeUnique<SpdySession>(
key, http_server_properties_, transport_security_state_,
- enable_sending_initial_data_, enable_ping_based_connection_checking_,
- session_max_recv_window_size_, initial_settings_, time_func_,
- push_delegate_, proxy_delegate_, net_log.net_log());
+ quic_supported_versions_, enable_sending_initial_data_,
+ enable_ping_based_connection_checking_, session_max_recv_window_size_,
+ initial_settings_, time_func_, push_delegate_, proxy_delegate_,
+ net_log.net_log());
new_session->InitializeWithSocket(std::move(connection), this, is_secure);
« no previous file with comments | « net/spdy/chromium/spdy_session_pool.h ('k') | net/spdy/chromium/spdy_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698