Skip to content

Conversation

@menghanl
Copy link
Contributor

@menghanl menghanl commented Mar 26, 2018

For target unix:///foo:

Before: it is parsed as {scheme: "unix", authority: "", endpoint: "foo"}, and the fallback resolver (passthrough) will get "foo" as the endpoint.

After: {scheme: "", authority: "", endpoint: "unix:///foo"}, the passthrough resolver will get "unix:///foo" as the endpoint.

fixes #1899

related to #1889

@menghanl menghanl merged commit f2620c3 into grpc:master Mar 27, 2018
@menghanl menghanl deleted the target_parsing branch March 27, 2018 20:58
@menghanl menghanl added this to the 1.11 Release milestone Mar 27, 2018
@crosbymichael
Copy link

Should this be backported to a 1.10.1?

menghanl added a commit to menghanl/grpc-go that referenced this pull request Mar 28, 2018
@menghanl
Copy link
Contributor Author

@crosbymichael
Copy link

@menghanl Thanks for the backport!

@stevvooe
Copy link
Contributor

@menghanl Thanks for addressing this one!

@stevvooe
Copy link
Contributor

BTW, I just confirmed the fix against 1.7 servers with 1.10.1 clients and everything looks good. Tests are ran as part of containerd/containerd#2186 and we are looking good.

@menghanl
Copy link
Contributor Author

@stevvooe That sounds great! Thanks for the update!

@lock lock bot locked as resolved and limited conversation to collaborators Sep 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrading from 1.7.2 to 1.10.0 causes connections to hang

4 participants