google-cloud-cpp icon indicating copy to clipboard operation
google-cloud-cpp copied to clipboard

Change gRPC channel configuration to include `DEFAULT_AUTHORITY`

Open coryan opened this issue 1 year ago • 1 comments

Channels intended for storage.googleapis.com should set:

args.SetString(GRPC_ARG_DEFAULT_AUTHORITY, "storage.googleapis.com");

I am not sure if this is only needed when using Google Direct Access (i.e. google-c2:///* endpoints), or a general thing.

coryan avatar Apr 15 '24 21:04 coryan

This could apply to all grpc libraries, needs investigation.

scotthart avatar Sep 25 '24 19:09 scotthart