Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade netpoll to v0.2.0 #356

Merged
merged 1 commit into from
Feb 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/bytedance/gopkg v0.0.0-20210910103821-e4efae9c17c3
github.com/cespare/xxhash v1.1.0
github.com/choleraehyq/pid v0.0.12
github.com/cloudwego/netpoll v0.1.2
github.com/cloudwego/netpoll v0.2.0
github.com/cloudwego/netpoll-http2 v0.0.6
github.com/cloudwego/thriftgo v0.1.2
github.com/json-iterator/go v1.1.11
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ github.com/choleraehyq/pid v0.0.12 h1:JLiTCsz2gStQZ3YWet+p9hktRnWzk7VJigpzvGV+I2
github.com/choleraehyq/pid v0.0.12/go.mod h1:uhzeFgxJZWQsZulelVQZwdASxQ9TIPZYL4TPkQMtL/U=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cloudwego/netpoll v0.1.0/go.mod h1:rZOiNI0FYjuvNybXKKhAPUja03loJi/cdv2F55AE6E8=
github.com/cloudwego/netpoll v0.1.2 h1:NSvqHfCmmR3g0ASshwAB0F2RJvXK8v7ToFmhWzh/ukY=
github.com/cloudwego/netpoll v0.1.2/go.mod h1:rZOiNI0FYjuvNybXKKhAPUja03loJi/cdv2F55AE6E8=
github.com/cloudwego/netpoll v0.2.0 h1:MmZX/jS6ozso86mnbVJ7fUO1hL4LOH/XngXN7Pn347A=
github.com/cloudwego/netpoll v0.2.0/go.mod h1:rZOiNI0FYjuvNybXKKhAPUja03loJi/cdv2F55AE6E8=
github.com/cloudwego/netpoll-http2 v0.0.6 h1:+jdkMKGj7ifRqWOdyT/hqzhXklmqh/H4lyOdrAVkI/U=
github.com/cloudwego/netpoll-http2 v0.0.6/go.mod h1:+bjPyu2Cd4GDzKa0IegPgp1hjMjpZ6/kXTsSjIsmUk8=
github.com/cloudwego/thriftgo v0.1.2 h1:AXpGJiWE3VggfiRHwA6raRJUIcjxliEIfJfGlvRiYUA=
Expand Down
5 changes: 5 additions & 0 deletions pkg/remote/trans/netpoll/mocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ func (m *MockNetpollReader) Peek(n int) (buf []byte, err error) {
return
}

// Until implements the netpoll.Reader interface.
func (m *MockNetpollReader) Until(b byte) (p []byte, err error) {
return
}

// Skip implements the netpoll.Reader interface.
func (m *MockNetpollReader) Skip(n int) (err error) {
return
Expand Down
5 changes: 5 additions & 0 deletions pkg/remote/trans/netpollmux/mocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,11 @@ func (m *MockNetpollReader) Peek(n int) (buf []byte, err error) {
return
}

// Until implements the netpoll.Reader interface.
func (m *MockNetpollReader) Until(b byte) (buf []byte, err error) {
return
}

// Skip implements the netpoll.Reader interface.
func (m *MockNetpollReader) Skip(n int) (err error) {
return
Expand Down