forked from quic-go/quic-go
use the actual maximum packet size in the Reno congestion controller
This commit is contained in:
@@ -38,6 +38,7 @@ type SentPacketHandler interface {
|
||||
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
|
||||
QueueProbePacket(protocol.EncryptionLevel) bool /* was a packet queued */
|
||||
|
||||
Reference in New Issue
Block a user