Skip to content

Fix for incorrect error propagation on truncated download stream.#683

Merged
hoytak merged 2 commits intomainfrom
hoytak/260304-bad-slice-call
Mar 5, 2026
Merged

Fix for incorrect error propagation on truncated download stream.#683
hoytak merged 2 commits intomainfrom
hoytak/260304-bad-slice-call

Conversation

@hoytak
Copy link
Collaborator

@hoytak hoytak commented Mar 4, 2026

Currently, the async stream logic silently swallows an UnexpectedEOF, treating it the same as an EOF. This is a bug; this PR fixes it to propagate UnexpectedEOF while handling correct EOF as the end of the stream.

@hoytak hoytak merged commit 70807bf into main Mar 5, 2026
7 of 9 checks passed
@hoytak hoytak deleted the hoytak/260304-bad-slice-call branch March 5, 2026 01:00
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

Successfully merging this pull request may close these issues.

2 participants