Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why BrokenPipe error? #164

Open
dungeontiger opened this issue Oct 11, 2023 · 2 comments
Open

Why BrokenPipe error? #164

dungeontiger opened this issue Oct 11, 2023 · 2 comments

Comments

@dungeontiger
Copy link

We have seen this error in the past but now it is becoming more frequent. Do you have any idea what could cause this?

{ kind: BrokenPipe, error: "ZipWriter was already closed" }

This is from our cargo file:

zip = { version = "0.6", features = ["deflate","bzip2","deflate-miniz","deflate-zlib"] }

It's a mystery to me why this would happen, especially since it seems random and infrequent. Any clues would be really helpful.

@Pr0methean
Copy link
Member

Does this error go away when you replace zip with zip_next?

@a1phyr
Copy link
Contributor

a1phyr commented Apr 18, 2024

Do you have a code pattern example ? 

Do you always write/flush after calling start_file (or a variant) ?

@Pr0methean Pr0methean transferred this issue from zip-rs/zip-old Jun 2, 2024
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

No branches or pull requests

3 participants