Closed wolfv closed 5 months ago
The Drop implementation of ZipFile currently panic's when the stream has an issue. Unfortunately we hit this panic sometimes when passing in a reqwest stream into the zipfile (using the read_zipfile_from_stream function).
ZipFile
read_zipfile_from_stream
Would it not be better to ignore errors?
https://github.com/zip-rs/zip/blob/3e88fe66c941d411cff5cf49778ba08c2ed93801/src/read.rs#L1008
Any further operations would anyways error with this particular stream...
Please reopen this against https://github.com/zip-rs/zip2 if it's not fixed in https://github.com/zip-rs/zip2/pull/48. This repo is no longer maintained.
The Drop implementation of
ZipFile
currently panic's when the stream has an issue. Unfortunately we hit this panic sometimes when passing in a reqwest stream into the zipfile (using theread_zipfile_from_stream
function).Would it not be better to ignore errors?
https://github.com/zip-rs/zip/blob/3e88fe66c941d411cff5cf49778ba08c2ed93801/src/read.rs#L1008
Any further operations would anyways error with this particular stream...