-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IP Protection] Use ProxyChain from HttpProxySocketParams
This CL adds ProxyChain and the proxy chain index into HttpProxySocketParams and uses it in the calls to NetworkServiceProxyDelegate::OnTunnelHeadersReceived via the proxy client sockets. This CL also adds a test of the connect jobs in the case where the SocketParams objects have been constructed to support nested proxies. Some associated changes were necessary to get this passing, specifically modifying some DCHECKs and adding a secure_dns_policy member to HttpProxySocketParams. As part of this, I also refactored some of the unit tests, such as ssl_connect_job_unittest.cc where we now create params similarly to how it's done in http_proxy_connect_job_unittest.cc. In both I was able to re-use existing helper methods for a DoH test. I dont think this CL introduces any changes in functionality. Bug: 1491092 Change-Id: Icd20413aa0c350d33b79db2708377f5bbf929a41 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4979730 Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Andrew Williams <awillia@chromium.org> Cr-Commit-Position: refs/heads/main@{#1217290}
- Loading branch information
Showing
19 changed files
with
500 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.