We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 861c90c commit d6cd890Copy full SHA for d6cd890
src/net/http/transport.go
@@ -3046,8 +3046,8 @@ type gzipReader struct {
3046
_ incomparable
3047
body *bodyEOFSignal // underlying HTTP/1 response body framing
3048
mu sync.Mutex // guards zr and zerr
3049
- zr *gzip.Reader
3050
- zerr error
+ zr *gzip.Reader // stores gzip reader from the pool between reads
+ zerr error // sticky gzip reader init error or sentinel value to detect concurrent read and read after close
3051
}
3052
3053
type eofReader struct{}
0 commit comments