Skip to content

Conversation

@toffaletti
Copy link
Contributor

@toffaletti toffaletti commented Aug 23, 2023

use io.Copy with io.Discard instead of io.ReadAll to avoid allocating a buffer just to throw it away
@bitfield bitfield marked this pull request as ready for review August 23, 2023 12:17
@bitfield bitfield merged commit 93f3568 into bitfield:master Aug 23, 2023
@bitfield
Copy link
Owner

Great! Thanks @toffaletti, much appreciated!

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