ackhandler: remove unneeded SetHandshakeConfirmed from SentPacketHandler (#4890)

According to section 4.9.2 of RFC 9001, dropping the Handshake packet
number spaces happens when the handshake is confirmed.
This commit is contained in:
Marten Seemann
2025-01-19 20:59:27 -08:00
committed by GitHub
parent 92dc1970ec
commit 2d2538d790
5 changed files with 3 additions and 52 deletions

View File

@@ -17,7 +17,6 @@ type SentPacketHandler interface {
ReceivedBytes(_ protocol.ByteCount, rcvTime time.Time)
DropPackets(_ protocol.EncryptionLevel, rcvTime time.Time)
ResetForRetry(rcvTime time.Time)
SetHandshakeConfirmed(now time.Time)
// The SendMode determines if and what kind of packets can be sent.
SendMode(now time.Time) SendMode