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 d4758336d2da478e4cb11fb1742cd791eb2890d8..eb6629fa6f845de526e6f41e2fc155c58dab3ba6 100644 |
--- a/net/quic/quic_crypto_server_stream.cc |
+++ b/net/quic/quic_crypto_server_stream.cc |
@@ -108,6 +108,13 @@ void QuicCryptoServerStream::FinishProcessingHandshakeMessage( |
} |
if (reply.tag() != kSHLO) { |
+ if (FLAGS_enable_quic_stateless_reject_support && |
+ reply.tag() == kSREJ) { |
+ // Before sending the SREJ, cause the connection to save crypto packets |
+ // so that they can be added to the time wait list manager and |
+ // retransmitted. |
+ session()->connection()->EnableSavingCryptoPackets(); |
+ } |
SendHandshakeMessage(reply); |
if (FLAGS_enable_quic_stateless_reject_support && reply.tag() == kSREJ) { |