Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream#Read(): remove de facto unused param allow_partial #9736

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

Al2Klimov
Copy link
Member

The only caller passes true, so no one forbids partial reads (even implicitly). All usages in the implementation just assert it being true (allowed).

@Al2Klimov Al2Klimov self-assigned this Mar 29, 2023
@cla-bot cla-bot bot added the cla/signed label Mar 29, 2023
@Al2Klimov Al2Klimov removed their assignment Mar 29, 2023
@Al2Klimov Al2Klimov marked this pull request as ready for review March 29, 2023 15:01
The only caller passes true, so no one forbids partial reads (even implicitly).
All usages in the implementation just assert it being true (allowed).
Copy link
Member

@yhabteab yhabteab left a comment

Choose a reason for hiding this comment

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

How can you require an argument that has to be always true? 🤦‍♂️

@Al2Klimov Al2Klimov added this to the 2.15.0 milestone Jan 3, 2024
@Al2Klimov Al2Klimov merged commit 48eb563 into master Feb 13, 2024
@Al2Klimov Al2Klimov deleted the stream-read-allow_partial branch February 13, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants