mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-04 12:47:36 +03:00
pass RST_STREAM frames directly to the stream
This commit is contained in:
parent
2d31440510
commit
03977c1a25
5 changed files with 141 additions and 75 deletions
|
@ -104,6 +104,18 @@ func (_mr *MockStreamIMockRecorder) HandleMaxStreamDataFrame(arg0 interface{}) *
|
|||
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "HandleMaxStreamDataFrame", reflect.TypeOf((*MockStreamI)(nil).HandleMaxStreamDataFrame), arg0)
|
||||
}
|
||||
|
||||
// HandleRstStreamFrame mocks base method
|
||||
func (_m *MockStreamI) HandleRstStreamFrame(_param0 *wire.RstStreamFrame) error {
|
||||
ret := _m.ctrl.Call(_m, "HandleRstStreamFrame", _param0)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HandleRstStreamFrame indicates an expected call of HandleRstStreamFrame
|
||||
func (_mr *MockStreamIMockRecorder) HandleRstStreamFrame(arg0 interface{}) *gomock.Call {
|
||||
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "HandleRstStreamFrame", reflect.TypeOf((*MockStreamI)(nil).HandleRstStreamFrame), arg0)
|
||||
}
|
||||
|
||||
// HandleStreamFrame mocks base method
|
||||
func (_m *MockStreamI) HandleStreamFrame(_param0 *wire.StreamFrame) error {
|
||||
ret := _m.ctrl.Call(_m, "HandleStreamFrame", _param0)
|
||||
|
@ -153,18 +165,6 @@ func (_mr *MockStreamIMockRecorder) Read(arg0 interface{}) *gomock.Call {
|
|||
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "Read", reflect.TypeOf((*MockStreamI)(nil).Read), arg0)
|
||||
}
|
||||
|
||||
// RegisterRemoteError mocks base method
|
||||
func (_m *MockStreamI) RegisterRemoteError(_param0 error, _param1 protocol.ByteCount) error {
|
||||
ret := _m.ctrl.Call(_m, "RegisterRemoteError", _param0, _param1)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// RegisterRemoteError indicates an expected call of RegisterRemoteError
|
||||
func (_mr *MockStreamIMockRecorder) RegisterRemoteError(arg0, arg1 interface{}) *gomock.Call {
|
||||
return _mr.mock.ctrl.RecordCallWithMethodType(_mr.mock, "RegisterRemoteError", reflect.TypeOf((*MockStreamI)(nil).RegisterRemoteError), arg0, arg1)
|
||||
}
|
||||
|
||||
// Reset mocks base method
|
||||
func (_m *MockStreamI) Reset(_param0 error) {
|
||||
_m.ctrl.Call(_m, "Reset", _param0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue