Fix DRP warmup URLs with network service
DRP currently handles this by modifying the proxy list to only have a specific proxy in the ProxyDelegate if the request is for a warmup URL. This change implements equivalent functionality when using the network service by creating a new NetworkContext with only the relevant proxy set in the custom proxy config, and using that context when making the warmup request. Bug: 721403 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I10e2ae5a7493526c24ac35c6db9a4d33dbbc6c8c Reviewed-on: https://chromium-review.googlesource.com/c/1289165 Commit-Queue: rajendrant <rajendrant@chromium.org> Reviewed-by:rajendrant <rajendrant@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#601867}
Showing
This diff is collapsed.
Please register or sign in to comment