mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
ackhandler: use the receive time of the Retry packet for RTT estimation (#4070)
This commit is contained in:
parent
dc0369cad4
commit
54b76ceb3e
6 changed files with 32 additions and 26 deletions
|
@ -148,17 +148,17 @@ func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 interface{}) *go
|
|||
}
|
||||
|
||||
// ResetForRetry mocks base method.
|
||||
func (m *MockSentPacketHandler) ResetForRetry() error {
|
||||
func (m *MockSentPacketHandler) ResetForRetry(arg0 time.Time) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ResetForRetry")
|
||||
ret := m.ctrl.Call(m, "ResetForRetry", arg0)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// ResetForRetry indicates an expected call of ResetForRetry.
|
||||
func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry() *gomock.Call {
|
||||
func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry(arg0 interface{}) *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetForRetry", reflect.TypeOf((*MockSentPacketHandler)(nil).ResetForRetry))
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetForRetry", reflect.TypeOf((*MockSentPacketHandler)(nil).ResetForRetry), arg0)
|
||||
}
|
||||
|
||||
// SendMode mocks base method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue