]> Cypherpunks repositories - gostls13.git/commit
compress/gzip: allow stopping at end of first stream
authorRuss Cox <rsc@golang.org>
Tue, 21 Oct 2014 02:03:46 +0000 (22:03 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 21 Oct 2014 02:03:46 +0000 (22:03 -0400)
commit70f2f1b4705bfeaaeffa9fd7bf322473b27f2baf
tree5e41f0ef486c3c647c7886fce10d8b2150887e2d
parentcf9558c8ab9a09cffeea1020e62411338c790b2f
compress/gzip: allow stopping at end of first stream

Allows parsing some file formats that assign special
meaning to which stream data is found in.

Will do the same for compress/bzip2 once this is
reviewed and submitted.

Fixes #6486.

LGTM=nigeltao
R=nigeltao, dan.kortschak
CC=adg, bradfitz, golang-codereviews, r
https://golang.org/cl/159120044
src/compress/gzip/gunzip.go
src/compress/gzip/gunzip_test.go