Closed
Description
When reading a gzipped response body (via an *http2.gzipReader
), closing the body doesn't necessarily cause subsequent reads to fail because gzipReader.Close
only closes the underlying response body. Buffered data in the gzip.Reader
can still be read.
This causes the existing test TestTransportGzip
to fail when run in HTTP/2 mode.