net/http: net/http.(*http2pipe).Write: invalid memory address or nil pointer dereference #13932
Using latest code in the master branch (771da53)
Possibly this occurred just after numerous errors returned by http.NewRequest or client.Do:
I have a theory about this one, but still investigating.
Which HTTP/2 server are you running this against? Is it Go or nginx or Apache or .... ?
My theory involves a specific frame order arriving. I know there's a bug in the client to cause it to crash (your stacktrace above), but I'm not sure whether there's also a bug in the Go server.
…frames I can't reproduce the user's bug yet, but this might fix or at least help clarify what's happening. Also deflakes a test. Updates golang/go#13932 Change-Id: If56bdd833f183d4502701e65e56749434bd82150 Reviewed-on: https://go-review.googlesource.com/18576 Reviewed-by: Andrew Gerrand <email@example.com>