bundle ACK frames when packing a packet

This commit is contained in:
Marten Seemann
2020-05-13 18:46:04 +07:00
parent fa381fffa0
commit 9177500096
8 changed files with 187 additions and 112 deletions

View File

@@ -68,5 +68,5 @@ type ReceivedPacketHandler interface {
DropPackets(protocol.EncryptionLevel)
GetAlarmTimeout() time.Time
GetAckFrame(protocol.EncryptionLevel) *wire.AckFrame
GetAckFrame(encLevel protocol.EncryptionLevel, onlyIfQueued bool) *wire.AckFrame
}