mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #1041] [CLOSED] Fix multi-threading support to exclude split/multi-volume ZIP archives #1464
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/1041
Author: @Copilot
Created: 11/27/2025
Status: ❌ Closed
Base:
adam/multi-threaded← Head:copilot/sub-pr-1040📝 Commits (2)
5776f7cInitial planc11277fFix test failures for multi-threading support in file-based Zips📊 Changes
3 files changed (+8 additions, -10 deletions)
View changed files
📝
src/SharpCompress/Common/Zip/SeekableZipFilePart.cs(+6 -8)📝
tests/SharpCompress.Test/Tar/TarReaderAsyncTests.cs(+1 -1)📝
tests/SharpCompress.Test/Tar/TarReaderTests.cs(+1 -1)📄 Description
Multi-threading support was incorrectly enabling independent file streams for split ZIP archives, causing decompression failures when entry data spans multiple volumes.
Changes
SeekableZipFilePart: Check
ss.Files.Count == 1before opening independent file streamsCreateBaseStream(): Only create new FileStream for single-file archivesSupportsMultiThreading: Return false for split/multi-volume archivesTar symlink tests: Fix build for .NET Framework 4.8 by changing
#if LINUXto#if LINUX && !NETFRAMEWORK(Mono.Posix.NETStandard not available for NETFRAMEWORK)✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.