[PR #264] Fix intermittent XZ errors #331

Open
opened 2026-01-29 16:32:12 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/quamotion/dotnet-packaging/pull/264

State: closed
Merged: No


Replacing the custom NativeMethods P/Invoke code with Joveler.Compression.XZ. This seem to have gotten rid of my intermittent failures with large files. The Joveler.Compression.XZ doesn't expose lzma_stream_footer_decode (and the other functions used to read the uncompressed size). Instead this code is implemented in C#. It would of course be possible to add this to Joveler.Compression.XZ...

This approach also makes this library have less code to maintain.

Fixes #99

**Original Pull Request:** https://github.com/quamotion/dotnet-packaging/pull/264 **State:** closed **Merged:** No --- Replacing the custom NativeMethods P/Invoke code with Joveler.Compression.XZ. This seem to have gotten rid of my intermittent failures with large files. The Joveler.Compression.XZ doesn't expose lzma_stream_footer_decode (and the other functions used to read the uncompressed size). Instead this code is implemented in C#. It would of course be possible to add this to Joveler.Compression.XZ... This approach also makes this library have less code to maintain. Fixes #99
claunia added the pull-request label 2026-01-29 16:32:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#331