ackhandler: remove error return value of SentPacketHandler.ResetForRetry (#4834)

This commit is contained in:
Marten Seemann 2025-01-06 15:05:19 +08:00 committed by GitHub
parent f41a6a644d
commit d87e2bb649
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 23 deletions

View file

@ -16,7 +16,7 @@ type SentPacketHandler interface {
ReceivedAck(f *wire.AckFrame, encLevel protocol.EncryptionLevel, rcvTime time.Time) (bool /* 1-RTT packet acked */, error)
ReceivedBytes(protocol.ByteCount)
DropPackets(protocol.EncryptionLevel)
ResetForRetry(rcvTime time.Time) error
ResetForRetry(rcvTime time.Time)
SetHandshakeConfirmed()
// The SendMode determines if and what kind of packets can be sent.