-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compress/zlib: #8650
Labels
Milestone
Comments
This doesn't sound like a bug. In general the Read method, as documented at http://golang.org/pkg/io/#Reader , does not promise that it will fill the entire buffer. If you need to fill the entire buffer, you should use ioutil.ReadAll, and you say that works. Labels changed: added repo-main, release-none. |
Comment 2 by me@iscoelho.com: Even so, if the zlib Reader has more data available, and it is not EOF, it should be able to read it in one call. The issue here is that it happens predictably at certain locations of the stream, which give signs of it being a bug and unintended behavior. |
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by TheRomanAlexander:
Attachments:
The text was updated successfully, but these errors were encountered: