Skip to content

xds: treat target server authority opaquely for resolving cluster name - #6767

Merged
voidzcy merged 5 commits into
grpc:masterfrom
voidzcy:impl/xds_resolve_treat_uri_opaquely
Mar 6, 2020
Merged

xds: treat target server authority opaquely for resolving cluster name#6767
voidzcy merged 5 commits into
grpc:masterfrom
voidzcy:impl/xds_resolve_treat_uri_opaquely

Conversation

@voidzcy

@voidzcy voidzcy commented Feb 27, 2020

Copy link
Copy Markdown
Contributor

Resolves #6750.

The target hostname:port used to construct gRPC channel should be treated opaquely. XdsNameResolver should not try to split it and should use it opaquely for sending LDS requests. In received RouteConfiguration message, do not stripe off port (if any) for finding the virtual host with domain name matching the requested LDS resource name.

@voidzcy voidzcy changed the title xds: do not split hostname and port in xDS resolver xds: treat target server authority opaquely for resolving cluster name Mar 6, 2020
@voidzcy
voidzcy force-pushed the impl/xds_resolve_treat_uri_opaquely branch from dd59721 to db9e99e Compare March 6, 2020 00:37
@voidzcy
voidzcy requested a review from dapengzhang0 March 6, 2020 00:37
@voidzcy voidzcy added the TODO:backport PR needs to be backported. Removed after backport complete label Mar 6, 2020
@voidzcy
voidzcy merged commit ef44795 into grpc:master Mar 6, 2020
voidzcy added a commit to voidzcy/grpc-java that referenced this pull request Mar 6, 2020
grpc#6767)

Fixes usage of target hostname:port in xDS plugin.

The target hostname:port used to construct gRPC channel should be treated opaquely. XdsNameResolver should not try to split it and should use it opaquely for sending LDS requests. In received RouteConfiguration messages, do not stripe off port (if any) for finding the virtual host with domain name matching the requested LDS resource name.
voidzcy added a commit to voidzcy/grpc-java that referenced this pull request Mar 6, 2020
grpc#6767)

Fixes usage of target hostname:port in xDS plugin.

The target hostname:port used to construct gRPC channel should be treated opaquely. XdsNameResolver should not try to split it and should use it opaquely for sending LDS requests. In received RouteConfiguration messages, do not stripe off port (if any) for finding the virtual host with domain name matching the requested LDS resource name.
voidzcy added a commit that referenced this pull request Mar 6, 2020
#6767) (#6810)

Fixes usage of target hostname:port in xDS plugin.

The target hostname:port used to construct gRPC channel should be treated opaquely. XdsNameResolver should not try to split it and should use it opaquely for sending LDS requests. In received RouteConfiguration messages, do not stripe off port (if any) for finding the virtual host with domain name matching the requested LDS resource name.
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Mar 9, 2020
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
grpc#6767)

Fixes usage of target hostname:port in xDS plugin.

The target hostname:port used to construct gRPC channel should be treated opaquely. XdsNameResolver should not try to split it and should use it opaquely for sending LDS requests. In received RouteConfiguration messages, do not stripe off port (if any) for finding the virtual host with domain name matching the requested LDS resource name.
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XdsNameResolver should not split host:port

3 participants