| Index: net/tools/quic/quic_dispatcher.cc
|
| diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc
|
| index 6fad609b27a2dc148f13487f67b030e0ec24dd0e..c7890e2affba6bba5af9e0110934bd2b889e0782 100644
|
| --- a/net/tools/quic/quic_dispatcher.cc
|
| +++ b/net/tools/quic/quic_dispatcher.cc
|
| @@ -51,6 +51,8 @@ QuicDispatcher::QuicDispatcher(const QuicConfig& config,
|
| QuicConnectionHelperInterface* helper)
|
| : config_(config),
|
| crypto_config_(crypto_config),
|
| + compressed_certs_cache_(
|
| + QuicCompressedCertsCache::kQuicCompressedCertsCacheSize),
|
| helper_(helper),
|
| delete_sessions_alarm_(
|
| helper_->CreateAlarm(new DeleteSessionsAlarm(this))),
|
| @@ -451,8 +453,8 @@ QuicServerSessionBase* QuicDispatcher::CreateQuicSession(
|
| connection_id, client_address, helper_.get(), CreatePerConnectionWriter(),
|
| /* owns_writer= */ true, Perspective::IS_SERVER, supported_versions_);
|
|
|
| - QuicServerSessionBase* session =
|
| - new QuicSimpleServerSession(config_, connection, this, crypto_config_);
|
| + QuicServerSessionBase* session = new QuicSimpleServerSession(
|
| + config_, connection, this, crypto_config_, &compressed_certs_cache_);
|
| session->Initialize();
|
| return session;
|
| }
|
|
|