Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable "ForceAttemptHTTP2" for DoH upstreamClient (#519)
According to https://pkg.go.dev/net/http#Transport, when TLSClientConfig is provided, HTTP/2 will be disabled. Setting this option to true, when using custom TLS config, will still attempt HTTP/2 upgrades.
- Loading branch information