This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #70: Add SOCKS5 Proxy support in http transport
ce8f318 Add SOCKS5 Support for SimpleHttpTransport (rajarshimaitra) dca6844 Ground Work: Refactor URL check from builder api (rajarshimaitra) Pull request description: This is an attempt at #57. Which was a request for adding socks5 Proxy support into the http transport. This is useful to connect to RPC via Tor. Summary: - Adds a new feature flag `proxy` which does some extra steps to connect the `url` address via a `proxy` address. - New fields are added inside `SimpleHttpTransport` which are only visible in `proxy` feature. - The first PR contains a refactoring which takes the URL sanity checking logic to its own function. So that it can be used for the `proxy-addr` checking also. - New constructor: Client::http_proxy() - Test covering basic behavior. ACKs for top commit: apoelstra: ACK ce8f318 Tree-SHA512: 1a01cecd3b5bdcd85035a55b02aab5b8b5b02f1664106eadde48151e2be1b6bd28143ad8c33ef87d5ea043c04ee12995986d36f3d0082bb8da3d015f68194a14
- Loading branch information
Showing
3 changed files
with
169 additions
and
63 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