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

select: yield available payload fully by requested num_bytes #1225

Merged
merged 2 commits into from
Jul 24, 2022

Conversation

kldtz
Copy link
Contributor

@kldtz kldtz commented Jul 21, 2022

When the specified number of bytes was less than the payload size, the rest of the payload was discarded. I fixed the method and adjusted the test to trigger this behavior.

Tobias Kolditz added 2 commits July 21, 2022 10:08
Consume the whole payload instead of just the first number of bytes.
Adjusted the test to trigger the inner loop.
@balamurugana balamurugana changed the title Fix select object stream select: yield available payload fully by requested num_bytes Jul 21, 2022
@harshavardhana harshavardhana merged commit eabb4ce into minio:master Jul 24, 2022
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.

3 participants