Files
sharpcompress/src/SharpCompress
copilot-swe-agent[bot] 8fc8295a89 Add TODO and explanation for SyncOnlyStream workaround
The SyncOnlyStream wrapper is necessary because the LZMA decoder has bugs in its async implementation that cause state corruption (IndexOutOfRangeException, DataErrorException) even with fresh, non-shared streams.

Without this wrapper, async operations on LZMA streams fail. The proper fix would be to repair the async bugs in LzmaStream.ReadAsync, Decoder.CodeAsync, and OutWindow async operations, but that requires deep changes to the decoder state machine.

Added detailed comments explaining this is a workaround and where the real fix should go.

Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
2025-12-19 13:47:49 +00:00
..
2025-01-14 09:07:40 +00:00
2025-12-08 11:00:29 +00:00
2024-04-23 09:59:30 +01:00
2025-10-22 09:17:13 +01:00
2025-10-23 11:43:21 +01:00
2015-12-30 11:19:42 +00:00
2025-11-29 15:55:21 +00:00