Remove obsolete stateless reset token length override These two lines are no longer correct. QuicSession calls QuicConfig::SetStatelessResetTokenToSend and then QuicConfig will populate the transport parameters with the right value. This call is currently a no-op as the stateless reset token is always 16 bytes long. Remove obsolete code PiperOrigin-RevId: 312518020 Change-Id: I384945ac1d227c1f257b2e2948bf79f23d059f82
diff --git a/quic/core/tls_server_handshaker.cc b/quic/core/tls_server_handshaker.cc index 99333a6..203726a 100644 --- a/quic/core/tls_server_handshaker.cc +++ b/quic/core/tls_server_handshaker.cc
@@ -319,9 +319,6 @@ return false; } - // TODO(nharper): Provide an actual value for the stateless reset token. - server_params.stateless_reset_token.resize(16); - // Notify QuicConnectionDebugVisitor. session()->connection()->OnTransportParametersSent(server_params);