ALTS: Do not pass a host to grpc_channel_create_pollset_set_call(); let the channel supply it. (#31867)
When the handshaker_service_url is in "host:port" format such as it normally is when using ALTS in GCE (in which case it comes from then this makes no difference as the authority and the URL are the same. But when different URLs are used, the correct authority to use is not always the same as the URL. For example if the URL is unix:///some/path then the correct authority is "localhost". This is correctly computed by grpc_core::UnixResolverFactory and stored as the channel's default authority, but we throw that away when we override the authority for individual RPCs. Note indeed that the majority of other callers of grpc_channel_create_* pass nullptr for the host/authority argument.pull/32573/head
parent
2cdc98a614
commit
0e38b075ff
1 changed files with 1 additions and 3 deletions
Loading…
Reference in new issue