Closed lizthegrey closed 2 years ago
Read()
Close()
bytes.Reader
https://go.dev/play/p/mNGgU5JkY1G -- proof that the old NopCloser and pooledReader implementations weren't being properly detected.
Which problem is this PR solving?
Read()
afterClose()
-- tickled by https://go-review.googlesource.com/c/net/+/355491 (first introduced when Go x/net/http2 change backported to golang 1.17.3)bytes.Reader
s not being detected by Go standard library runtime type detection. https://cs.opensource.google/go/go/+/refs/tags/go1.17.5:src/net/http/request.go;l=890