Skip to content
Snippets Groups Projects
Unverified Commit 7a59013a authored by Mikhail Mazurskiy's avatar Mikhail Mazurskiy
Browse files

Disable HTTP/2

parent 1bc02fcc
No related merge requests found
......@@ -105,6 +105,7 @@ func (s *server) httpDo(ctx context.Context, h *grpctool.HttpRequest_Header, bod
}
rt, err = transport.HTTPWrappersForConfig(transportCfg, upgradeRT)
} else {
transportCfg.TLS.NextProtos = []string{httpz.TLSNextProtoH1}
rt, err = transport.New(transportCfg) // returns pooled transports that reuse TCP connections
}
if err != nil {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment