]> Cypherpunks repositories - gostls13.git/commit
compress/flate: update NewReader documentation
authorJoe Tsai <joetsai@digital-static.net>
Mon, 12 Sep 2022 17:15:37 +0000 (10:15 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 15 Sep 2022 20:02:32 +0000 (20:02 +0000)
commita29739145d8a46786d503bfc8a8ecf47a7381710
treec2e34862915184034a5b5af1aaf7e2b6c83d443b
parent44ad662a49e0490af0be12652f64aeab6fe1a5ee
compress/flate: update NewReader documentation

Calling close is no longer necessary.
It was was originally necessary to cleanup goroutines
spawned to decompress the stream.
This has not been the case since CL 4548079.

Update the documentation to mention how it handles trailing data
after the end of the DEFLATE stream.

Change-Id: Ieacba264230560713b7b8d604665223fd096f4ec
Reviewed-on: https://go-review.googlesource.com/c/go/+/430377
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/compress/flate/inflate.go