Closed adamsitnik closed 3 years ago
Hi,
Thanks for the fix! I certainly never expected that behavior from an in-memory stream, but I guess it makes sense somehow 😅
@GoldenCrystal Thank you for merging it so quickly!
I certainly never expected that behavior from an in-memory stream, but I guess it makes sense somehow
I've learned it the hard way that if Read
returns an int
there is a chance for incomplete read.
May I ask when do you plan to release a new package version to nuget.org? We hope that .NET 6 is soon going to become popular and would expect all users to hit this problem ;)
Apparently I needed to fix problems with the CI, but it seems to be all good now 🙂 I published the new package with your fixes. Thanks again ^^
.NET 6 has introduced a breaking change for handling incomplete reads from
DeflateStream
. This was discovered in https://github.com/dotnet/runtime/issues/54538.Please see https://github.com/dotnet/docs/issues/24649 for more details