| Index: net/tools/quic/test_tools/quic_test_server.cc
|
| diff --git a/net/tools/quic/test_tools/quic_test_server.cc b/net/tools/quic/test_tools/quic_test_server.cc
|
| index 31ddef8b0ce6e17fab3eb57632b0ac908826cb04..8d1ebf5f15c83bc49a826e78c614230390066447 100644
|
| --- a/net/tools/quic/test_tools/quic_test_server.cc
|
| +++ b/net/tools/quic/test_tools/quic_test_server.cc
|
| @@ -33,9 +33,14 @@ class CustomStreamSession : public QuicSimpleServerSession {
|
| QuicConnection* connection,
|
| QuicServerSessionVisitor* visitor,
|
| const QuicCryptoServerConfig* crypto_config,
|
| + QuicCompressedCertsCache* compressed_certs_cache,
|
| QuicTestServer::StreamFactory* factory,
|
| QuicTestServer::CryptoStreamFactory* crypto_stream_factory)
|
| - : QuicSimpleServerSession(config, connection, visitor, crypto_config),
|
| + : QuicSimpleServerSession(config,
|
| + connection,
|
| + visitor,
|
| + crypto_config,
|
| + compressed_certs_cache),
|
| stream_factory_(factory),
|
| crypto_stream_factory_(crypto_stream_factory) {}
|
|
|
| @@ -88,12 +93,13 @@ class QuicTestDispatcher : public QuicDispatcher {
|
|
|
| QuicServerSessionBase* session = nullptr;
|
| if (stream_factory_ != nullptr || crypto_stream_factory_ != nullptr) {
|
| - session =
|
| - new CustomStreamSession(config(), connection, this, crypto_config(),
|
| - stream_factory_, crypto_stream_factory_);
|
| + session = new CustomStreamSession(
|
| + config(), connection, this, crypto_config(), compressed_certs_cache(),
|
| + stream_factory_, crypto_stream_factory_);
|
| } else {
|
| session = session_factory_->CreateSession(config(), connection, this,
|
| - crypto_config());
|
| + crypto_config(),
|
| + compressed_certs_cache());
|
| }
|
| session->Initialize();
|
| return session;
|
| @@ -165,8 +171,13 @@ ImmediateGoAwaySession::ImmediateGoAwaySession(
|
| const QuicConfig& config,
|
| QuicConnection* connection,
|
| QuicServerSessionVisitor* visitor,
|
| - const QuicCryptoServerConfig* crypto_config)
|
| - : QuicSimpleServerSession(config, connection, visitor, crypto_config) {
|
| + const QuicCryptoServerConfig* crypto_config,
|
| + QuicCompressedCertsCache* compressed_certs_cache)
|
| + : QuicSimpleServerSession(config,
|
| + connection,
|
| + visitor,
|
| + crypto_config,
|
| + compressed_certs_cache) {
|
| SendGoAway(QUIC_PEER_GOING_AWAY, "");
|
| }
|
|
|
|
|