We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
test program: https://play.rust-lang.org/?gist=f944dbb26d6cd8afb4e866359d9b9e2f&version=stable&mode=debug&edition=2015 https://gist.github.com/f944dbb26d6cd8afb4e866359d9b9e2f
The text was updated successfully, but these errors were encountered:
I would expect the test program to print "Test" twice.
"Test"
Sorry, something went wrong.
the issue still exists in version 0.4.5
The problem is:
BufReader::fill_buf
InflateStream::update
DeflateDecoderBuf::read
Bytes::next
None
We can't even fix this by calling BufReader:fill_buf again because it only reads when the buffer is empty.
BufReader:fill_buf
So in my opinion, DeflateDecoderBuf needs to be rewritten without using BufReader. This isn't something I plan to work on.
DeflateDecoderBuf
BufReader
No branches or pull requests
test program: https://play.rust-lang.org/?gist=f944dbb26d6cd8afb4e866359d9b9e2f&version=stable&mode=debug&edition=2015
https://gist.github.com/f944dbb26d6cd8afb4e866359d9b9e2f
The text was updated successfully, but these errors were encountered: