forked from quic-go/quic-go
simplify pacing logic by introducing a SendPacingLimited send mode
This commit is contained in:
@@ -756,6 +756,9 @@ func (h *sentPacketHandler) SendMode() SendMode {
|
||||
}
|
||||
return SendAck
|
||||
}
|
||||
if !h.congestion.HasPacingBudget() {
|
||||
return SendPacingLimited
|
||||
}
|
||||
return SendAny
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user