gfe-relnote: In TLS client handshaker, call OnHandshakeComplete when handshake is finished. Protected by existing FLAGS_quic_supports_tls_handshake.
PiperOrigin-RevId: 265538864
Change-Id: I8443c4969b06a343183daaf5afdb804336718710
diff --git a/quic/core/quic_connection.h b/quic/core/quic_connection.h
index c20a3ef..6a5062a 100644
--- a/quic/core/quic_connection.h
+++ b/quic/core/quic_connection.h
@@ -533,9 +533,10 @@
// ack_frame().
const QuicFrame GetUpdatedAckFrame();
- // Called by the crypto stream when the handshake completes. In the server's
- // case this is when the SHLO has been ACKed. Clients call this on receipt of
- // the SHLO.
+ // Called when the handshake completes. On the client side, handshake
+ // completes on receipt of SHLO. On the server side, handshake completes when
+ // SHLO gets ACKed (or a forward secure packet gets decrypted successfully).
+ // TODO(fayang): Add a guard that this only gets called once.
void OnHandshakeComplete();
// Accessors