You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; the gzip writer should not report bytes written that are unrelated to the input slice.
The text was updated successfully, but these errors were encountered:
twmb
changed the title
compress/gzip: Write overreports bytes written if underlying riter errors within 10 bytes
compress/gzip: Write over reports bytes written if underlying Writer errors within 10 bytes
Apr 1, 2018
What version of Go are you using (
go version
)?go version go1.10 linux/amd64
; exists since 2010Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/twmb/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/twmb/go"
GORACE=""
GOROOT="/home/twmb/go/go"
GOTMPDIR=""
GOTOOLDIR="/home/twmb/go/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build085502795=/tmp/go-build -gno-record-gcc-switches"
What did you do?
https://play.golang.org/p/BtWWmSrhxZk
What did you expect to see?
What did you see instead?
This is due to
go/src/compress/gzip/gzip.go
Line 168 in 917c33f
The text was updated successfully, but these errors were encountered: