Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Conversation

@alekece
Copy link

@alekece alekece commented Jan 11, 2023

My use case of tokio-tar is to transfer files/folder over the network using TCP :

  1. The sender machine send files/folders using TcpStream from tokio.
  2. The receiver machine receives files/folders using TcpListener from tokio.

As indicated to the documentation, reading the archive when appending files/folders corrupts it (which basically panic).

So this PR aims to mitigate that behaviour by catching the panic and handle it properly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant