Skip to content

Conversation

@ferhatelmas
Copy link
Contributor

@ferhatelmas ferhatelmas commented Jan 21, 2026

related to #644, #681

related to apache#644, apache#681

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
defer func() { err = errors.Join(err, rdr.Close()) }()

return size, rdr.Close()
return io.ReadFull(rdr, p)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's unexpected, we have to close every time we read?

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