Stream returned by ZipFile.GetInputStream() hangs when accessing Length property
Sardelka9515 opened this issue · comments
Steps to reproduce
- Create a new ZipFile instance
- Get a
Stream
object returned by ZipFile.GetInputStream(), and try to get it's length. - Program stuck
Expected behavior
Return the acutal length of the decompressed file. Or throw an expection if it's not possibile.
Actual behavior
When accesing Stream.Length
propperty from the object returned by ZipFile.GetInputStream(), execution hangs.
Version of SharpZipLib
Obtained from (only keep the relevant lines)
- Package installed using NuGet
1.3.3
It should throw, not sure what is happening in your case:
Ah, my bad. Exception not caught correctly, nevermind