http2: fix nil dereference after Read completes with an error
Case happens if Read is called after it has already returned an error
previously. Verified that the new TestPipeCloseWithError test fails
before this change but passes after.
Run-TryBot: Tom Bergan <firstname.lastname@example.org>
TryBot-Result: Gobot Gobot <email@example.com>
Reviewed-by: Brad Fitzpatrick <firstname.lastname@example.org>
2 files changed