Revert "chore: update quic-go to 0.36.0"

This reverts commit 2284acce94.
This commit is contained in:
Larvan2
2023-06-29 14:24:53 +08:00
parent fa94403629
commit 53f9e1ee71
5 changed files with 25 additions and 24 deletions

View File

@@ -293,8 +293,8 @@ func (b *bbrSender) TimeUntilSend(bytesInFlight congestion.ByteCount) time.Time
return b.pacer.TimeUntilSend()
}
func (b *bbrSender) HasPacingBudget(now time.Time) bool {
return b.pacer.Budget(now) >= b.maxDatagramSize
func (b *bbrSender) HasPacingBudget() bool {
return b.pacer.Budget(b.clock.Now()) >= b.maxDatagramSize
}
func (b *bbrSender) SetMaxDatagramSize(s congestion.ByteCount) {