mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
NotSupportedException for forward-only reading of unseekable ConnectStream #118
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AlexVallat on GitHub (Aug 12, 2016).
When using ZipReader over the ConnectStream obtained from a HttpWebResponse, it fails at the second call of MoveToNextEntry due to attempting to access the .Position of the underlying stream. ConnectStream does not support .Position as it does not support seeking.
@adamhathcock commented on GitHub (Aug 12, 2016):
Can you give me the full stack trace? It definitely shouldn't be doing that.
@adamhathcock commented on GitHub (Aug 12, 2016):
Never mind, I reproduced it.
@AlexVallat commented on GitHub (Aug 12, 2016):
Just in case, I might as well post the stack anyway now that I've captured it:
@AlexVallat commented on GitHub (Aug 12, 2016):
Thanks for the quick response!
@adamhathcock commented on GitHub (Aug 12, 2016):
https://www.nuget.org/packages/sharpcompress/0.12.4