Skip to content

Conversation

@oll3
Copy link
Owner

@oll3 oll3 commented Apr 5, 2024

When cloning from an archive which ends unexpectedly we should no longer panic. The panic previously occurred when the caller continued to read from the chunk stream after the first error. Now the stream is closed after the first error.

This might fix #40 since ending up with a truncated archive seems like the most likely way to corrupt a file during a copy.

When cloning from an archive which ends unexpectedly we now fail with an error instead of panicking.
The panic previously occurred when the caller continued to read from the chunk stream after the first error.
Now the stream is closed after the first error.
@oll3 oll3 merged commit bc8fed9 into main Apr 6, 2024
@oll3 oll3 deleted the fix/do-not-panic branch January 7, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update failed in bita

2 participants