Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tim/proxy-fallback' into 'master'
fix(http_outcalls_adapter): Only use socks proxy as fallback Currently we have some logic to decide if we should use the socks proxy (besides being on a system subnet), for example checking if the dns returns a IPv6 address. This MR removes these checks and just tries to locally connect first and fallsback to the socks proxy. This shouldn't be too costly since connection attempts to IPv4 will fail immediately on mainnet since we don't have an ipv4 interface. This also fixes the issue that in dfx on system subnets ipv4 addresses are not accessible. It is fixed because we optimistically try the local socket See merge request dfinity-lab/public/ic!16410
- Loading branch information
Showing
1 changed file
with
17 additions
and
85 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