Index: net/quic/quic_crypto_server_stream.cc |
diff --git a/net/quic/quic_crypto_server_stream.cc b/net/quic/quic_crypto_server_stream.cc |
index 63070cd23c7273e0f7b37fd2458fe4fb197386fc..141647f6a4df73181615d9f293615b1c9d324a62 100644 |
--- a/net/quic/quic_crypto_server_stream.cc |
+++ b/net/quic/quic_crypto_server_stream.cc |
@@ -130,13 +130,9 @@ void QuicCryptoServerStream::FinishProcessingHandshakeMessage( |
// We want to be notified when the SHLO is ACKed so that we can disable |
// HANDSHAKE_MODE in the sent packet manager. |
- if (session()->connection()->version() <= QUIC_VERSION_21) { |
- SendHandshakeMessage(reply); |
- } else { |
- scoped_refptr<ServerHelloNotifier> server_hello_notifier( |
- new ServerHelloNotifier(this)); |
- SendHandshakeMessage(reply, server_hello_notifier.get()); |
- } |
+ scoped_refptr<ServerHelloNotifier> server_hello_notifier( |
+ new ServerHelloNotifier(this)); |
+ SendHandshakeMessage(reply, server_hello_notifier.get()); |
session()->connection()->SetEncrypter( |
ENCRYPTION_FORWARD_SECURE, |
@@ -152,8 +148,7 @@ void QuicCryptoServerStream::FinishProcessingHandshakeMessage( |
void QuicCryptoServerStream::SendServerConfigUpdate( |
const CachedNetworkParameters* cached_network_params) { |
- if (session()->connection()->version() <= QUIC_VERSION_21 || |
- !handshake_confirmed_) { |
+ if (!handshake_confirmed_) { |
return; |
} |