forked from quic-go/quic-go
simplify pacing logic by introducing a SendPacingLimited send mode
This commit is contained in:
@@ -24,8 +24,6 @@ type SentPacketHandler interface {
|
||||
// TimeUntilSend is the time when the next packet should be sent.
|
||||
// It is used for pacing packets.
|
||||
TimeUntilSend() time.Time
|
||||
// HasPacingBudget says if the pacer allows sending of a (full size) packet at this moment.
|
||||
HasPacingBudget() bool
|
||||
SetMaxDatagramSize(count protocol.ByteCount)
|
||||
|
||||
// only to be called once the handshake is complete
|
||||
|
||||
Reference in New Issue
Block a user