forked from quic-go/quic-go
keep track of which packets were sent as retransmissions
When an ACK for a packet that was retransmitted arrives, we don't need to retransmit the retransmission, even if it was lost.
This commit is contained in:
@@ -98,8 +98,10 @@ func (mr *MockSentPacketHandlerMockRecorder) GetStopWaitingFrame(arg0 interface{
|
||||
}
|
||||
|
||||
// OnAlarm mocks base method
|
||||
func (m *MockSentPacketHandler) OnAlarm() {
|
||||
m.ctrl.Call(m, "OnAlarm")
|
||||
func (m *MockSentPacketHandler) OnAlarm() error {
|
||||
ret := m.ctrl.Call(m, "OnAlarm")
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// OnAlarm indicates an expected call of OnAlarm
|
||||
|
||||
Reference in New Issue
Block a user