Skip to content

fix: handle -1 from syscall.Read#25

Closed
pvainio wants to merge 1 commit intogoburrow:masterfrom
pvainio:master
Closed

fix: handle -1 from syscall.Read#25
pvainio wants to merge 1 commit intogoburrow:masterfrom
pvainio:master

Conversation

@pvainio
Copy link
Copy Markdown

@pvainio pvainio commented Mar 3, 2026

It seems syscall.Read can return -1 in case of error, but io.Reader or ReadWriteCloser should never return negative values.

@pvainio
Copy link
Copy Markdown
Author

pvainio commented Mar 3, 2026

Duplicate to #24

@pvainio pvainio closed this Mar 3, 2026
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.

1 participant