-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
dependency: bump google.golang.org/grpc from 1.51.0 to 1.52.0 #15131
Conversation
Codecov Report
@@ Coverage Diff @@
## main #15131 +/- ##
==========================================
- Coverage 74.90% 74.57% -0.34%
==========================================
Files 415 415
Lines 34343 34343
==========================================
- Hits 25726 25610 -116
- Misses 7003 7094 +91
- Partials 1614 1639 +25
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
ServerName field of the resolver returned address takes precedence over Host field of CallHdr to determine the :authority header. Refer to grpc/grpc-go#5748 Signed-off-by: Benjamin Wang <[email protected]>
5318520
to
ca7d210
Compare
@@ -41,38 +41,38 @@ func TestAuthority(t *testing.T) { | |||
{ | |||
name: "http://domain[:port]", | |||
clientURLPattern: "http://localhost:${MEMBER_PORT}", | |||
expectAuthorityPattern: "localhost:${MEMBER_PORT}", | |||
expectAuthorityPattern: "localhost", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is suspicious and possibly a breaking change. Please check #13192. Having just host is a correct authority format (as port is optional), however I think it can break some setups that depend on that.
Before merging we should understand the grpc change that lead to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change grpc/grpc-go#5748
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the commit message (Pasted below in case anyone miss it) and grpc/grpc-go#5748 (comment)
ServerName field of the resolver returned address takes precedence
over Host field of CallHdr to determine the :authority header.
Refer to https://github.com/grpc/grpc-go/pull/5748
cc @ptabor |
linked to #15145 |
Umm, why not set the etcd/client/v3/internal/resolver/resolver.go Lines 66 to 67 in 9e1abba
cc @ptabor could you please shed some lights on this in case I missed something? The port will be stripped away regardless when doing TLS client handshake thanks to grpc/grpc-go#3082. |
superseded by #16324 |
dependabot automaticaly bumped gRPC, but unfortunately it doesn't execute "./scripts/fix.sh", and it also created a PR for each module.