mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
simplify pacing logic by introducing a SendPacingLimited send mode
This commit is contained in:
parent
470ae7b39b
commit
9d70bc24a5
8 changed files with 28 additions and 47 deletions
|
@ -63,20 +63,6 @@ func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *gomock.C
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLossDetectionTimeout", reflect.TypeOf((*MockSentPacketHandler)(nil).GetLossDetectionTimeout))
|
||||
}
|
||||
|
||||
// HasPacingBudget mocks base method.
|
||||
func (m *MockSentPacketHandler) HasPacingBudget() bool {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "HasPacingBudget")
|
||||
ret0, _ := ret[0].(bool)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HasPacingBudget indicates an expected call of HasPacingBudget.
|
||||
func (mr *MockSentPacketHandlerMockRecorder) HasPacingBudget() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HasPacingBudget", reflect.TypeOf((*MockSentPacketHandler)(nil).HasPacingBudget))
|
||||
}
|
||||
|
||||
// OnLossDetectionTimeout mocks base method.
|
||||
func (m *MockSentPacketHandler) OnLossDetectionTimeout() error {
|
||||
m.ctrl.T.Helper()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue