NotSupportedException for forward-only reading of unseekable ConnectStream #116

Open
opened 2026-01-29 22:06:49 +00:00 by claunia · 0 comments
Owner

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.

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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#116