Closed
Description
Our resource parsing supports two listener types (I'm not confident enough validation is happening here):
grpc-java/xds/src/main/java/io/grpc/xds/XdsListenerResource.java
Lines 110 to 114 in 210f9c0
But XdsNameResolver and XdsServerWrapper don't check that they got the right type. No changes were made to XdsNameResolver when non-API listener type was allowed, so I doubt the logic exists but I'm just not seeing it.
I also don't see XdsServerWrapper call address()
, so it appears it is not follow gRFC A36.
The XdsServer must be "not serving" if the address does not match.