implement the new Retry mechanism

This commit is contained in:
Marten Seemann
2018-08-12 10:41:56 +07:00
parent d8aa49d0f9
commit f88b7bb175
23 changed files with 401 additions and 1082 deletions

View File

@@ -219,18 +219,6 @@ func (mr *MockQuicSessionMockRecorder) destroy(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "destroy", reflect.TypeOf((*MockQuicSession)(nil).destroy), arg0)
}
// getCryptoStream mocks base method
func (m *MockQuicSession) getCryptoStream() cryptoStream {
ret := m.ctrl.Call(m, "getCryptoStream")
ret0, _ := ret[0].(cryptoStream)
return ret0
}
// getCryptoStream indicates an expected call of getCryptoStream
func (mr *MockQuicSessionMockRecorder) getCryptoStream() *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "getCryptoStream", reflect.TypeOf((*MockQuicSession)(nil).getCryptoStream))
}
// handlePacket mocks base method
func (m *MockQuicSession) handlePacket(arg0 *receivedPacket) {
m.ctrl.Call(m, "handlePacket", arg0)