Files
tasks/common/cluster
pdoernerandGitHub 97afcc17ae Set ForceAttemptHTTP2=true for remote frontend HTTP clients (#8154)
## What changed?
Setting `ForceAttemptHTTP2=true` for remote frontend HTTP clients. Local
FE clients already set this.

## Why?
ForceAttemptHTTP2 is the default except when providing a custom Dial ,
DialTLS , DialContext , or TLSClientConfig to prevent breaking older
code: https://github.com/golang/go/issues/14275

We set this parameter to true for local clients, so when TLS is enabled
and a failover happens, callback requests will fail because the cluster
uses a local frontend to make the request with HTTP2 which is then
forwarded using HTTP1.x and causes a malformed response.
2025-08-06 11:37:23 -07:00
..