Hello Brad (and other interested h2 hackers),
I see that it is currently possible to turn off HTTP/2 via "GODEBUG=h2client=0".
Before I figured that out, I found I coud turn it off like this:
func init() {
// Disable HTTP/2
http.DefaultClient.Transport = &http.Transport{
TLSNextProto: make(map[string]func(authority string, c *tls.Conn) http.RoundTripper),
}
}
What is the plan for making this easier to do and to find out about?
I have unfortunately already found a site where h2 makes things start failing in a mysterious way, and the process of figuring this out was very long and frustrating.
-jeff