forked from quic-go/quic-go
ackhandler: avoid calling time.Now() when generating ACK frame (#4886)
This commit is contained in:
@@ -49,5 +49,5 @@ type ReceivedPacketHandler interface {
|
||||
DropPackets(protocol.EncryptionLevel)
|
||||
|
||||
GetAlarmTimeout() time.Time
|
||||
GetAckFrame(encLevel protocol.EncryptionLevel, onlyIfQueued bool) *wire.AckFrame
|
||||
GetAckFrame(_ protocol.EncryptionLevel, now time.Time, onlyIfQueued bool) *wire.AckFrame
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user