forked from quic-go/quic-go
move GSO control message handling to the oobConn (#4056)
* move GSO control message handling to the oobConn * disable OOB test on Windows * improve GSO tests * update ooConn.WritePacket comment
This commit is contained in:
@@ -8,7 +8,6 @@ import (
|
||||
net "net"
|
||||
reflect "reflect"
|
||||
|
||||
protocol "github.com/quic-go/quic-go/internal/protocol"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
@@ -78,7 +77,7 @@ func (mr *MockSendConnMockRecorder) RemoteAddr() *gomock.Call {
|
||||
}
|
||||
|
||||
// Write mocks base method.
|
||||
func (m *MockSendConn) Write(arg0 []byte, arg1 protocol.ByteCount) error {
|
||||
func (m *MockSendConn) Write(arg0 []byte, arg1 uint16) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "Write", arg0, arg1)
|
||||
ret0, _ := ret[0].(error)
|
||||
|
||||
Reference in New Issue
Block a user