commit | 1fa906413e7ab0de600ccff635bb1ee2520aac3c | [log] [tgz] |
---|---|---|
author | Wojciech Dzierżanowski <wdzierzanowski@opera.com> | Thu Mar 14 09:42:06 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 14 09:42:06 2019 |
tree | 525036b39ebe1c4bca151f422796be8dcb8168dd | |
parent | 18062a7fe41c376dbfcfa7e6e6abd5c5f324336b [diff] |
Support tunneled requests in NetworkServiceProxyDelegate With this change, CustomProxyConfig can specify rules for http://, https://, ws://, and wss:// requests with a single proxy list. NetworkServiceProxyDelegate will now support proxy resolution not just for http:// requests, but for any scheme (except ftp://, which isn't proxied in //net, either). The delegate will also modify the CONNECT request headers to include the headers specified in CustomProxyConfig. The meaning of CustomProxyConfig is modified to let features specify proxying behavior precisely through net::ProxyConfig::ProxyRules. In particular, the proxy rules now determine which schemes are proxied with no additional assumptions in NetworkServiceProxyDelegate. Bug: 915659 Change-Id: I2dd2a95ab96bdf4d14cffa5c2541fbb678cd3f94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1417455 Commit-Queue: Wojciech Dzierżanowski <wdzierzanowski@opera.com> Reviewed-by: Tarun Bansal <tbansal@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#640680}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .