We need to steer requests to a particular GFE.
This will be needed for early GRPC end-to-end demos until server changes gets widely deployed.
We need --host-resolver-rules equivalent in CronetEngine which would take care of this.
Look at CreateGlobalHostResolverRules in IOThread. We should do the same here.
Miriam, thanks for doing this. Let me know what I help. To plumb a experimental flag from Cronet to net::, it would be similar to https://codereview.chromium.org/1796253002/.
I don't know if an experimental flag will work for this case?
I was thinking in general it would be something where we change the HostResolver tied to the HttpNetworkSession to be a MappedHostResolver when these options are set.
I was assuming we need this temporarily only for BidirectionalStream QUIC, so we wouldn't want a real API for it.
Why do we need custom host resolver mapping for this? Don't they have a different url for their staging test server?
Comment 1 by xunji...@chromium.org
, Mar 14 2016