pass the largest acked 1-RTT packet number to the crypto setup

This commit is contained in:
Marten Seemann
2019-06-12 22:10:24 +08:00
parent 1e148c20c5
commit 73d5d83a1d
5 changed files with 17 additions and 17 deletions

View File

@@ -71,7 +71,7 @@ type CryptoSetup interface {
ChangeConnectionID(protocol.ConnectionID) error
HandleMessage([]byte, protocol.EncryptionLevel) bool
Received1RTTAck()
SetLargest1RTTAcked(protocol.PacketNumber)
ConnectionState() tls.ConnectionState
GetInitialOpener() (LongHeaderOpener, error)