]> Cypherpunks repositories - gostls13.git/commit
archive/zip: clarify expectations of RegisterCompressor and RegisterDecompressor
authorJoe Tsai <joetsai@digital-static.net>
Thu, 14 Jan 2016 08:38:48 +0000 (00:38 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 27 Jan 2016 00:22:03 +0000 (00:22 +0000)
commitc736280e2250a9a873423f6c4923b6f4c1caf528
tree4817fd0bc99c62d29e73c545cbb74282327c8ee9
parent1d901f55bd9d6ee12bc4692cd60a6a2311366799
archive/zip: clarify expectations of RegisterCompressor and RegisterDecompressor

Clarify that Compressor and Decompressor callbacks must support being invoked
concurrently, but that the writer or reader returned need not be.

Updates #8359

Change-Id: Ia407b581dd124185f165c25f5701018a8ce4357a
Reviewed-on: https://go-review.googlesource.com/18627
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/zip/example_test.go
src/archive/zip/reader.go
src/archive/zip/register.go