Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rpcclient: Explicitly require TLS >= 1.2 for HTTP.
This set the TLS config to explicitly require TLS 1.2 as the minimum version for HTTP connections to explicitly match the requirement it imposes for WebSocket connections. This is technically a noop for the more recent Go releases that are officially supported since TLS 1.2 is the default minimum when acting as a client for those releases, however, it is preferable to be explicit and consistent.
- Loading branch information