mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
move calculation of RTO delay to the sent packet handler
This commit is contained in:
parent
ef286afa3c
commit
2b9b949855
6 changed files with 8 additions and 52 deletions
|
@ -109,18 +109,6 @@ func (mr *MockSendAlgorithmMockRecorder) OnRetransmissionTimeout(arg0 interface{
|
|||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnRetransmissionTimeout", reflect.TypeOf((*MockSendAlgorithm)(nil).OnRetransmissionTimeout), arg0)
|
||||
}
|
||||
|
||||
// RetransmissionDelay mocks base method
|
||||
func (m *MockSendAlgorithm) RetransmissionDelay() time.Duration {
|
||||
ret := m.ctrl.Call(m, "RetransmissionDelay")
|
||||
ret0, _ := ret[0].(time.Duration)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// RetransmissionDelay indicates an expected call of RetransmissionDelay
|
||||
func (mr *MockSendAlgorithmMockRecorder) RetransmissionDelay() *gomock.Call {
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RetransmissionDelay", reflect.TypeOf((*MockSendAlgorithm)(nil).RetransmissionDelay))
|
||||
}
|
||||
|
||||
// SetNumEmulatedConnections mocks base method
|
||||
func (m *MockSendAlgorithm) SetNumEmulatedConnections(arg0 int) {
|
||||
m.ctrl.Call(m, "SetNumEmulatedConnections", arg0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue