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

Fix PutObject call for unknown size stream #173

Merged
merged 2 commits into from
Oct 2, 2017
Merged

Conversation

poornas
Copy link
Contributor

@poornas poornas commented Sep 18, 2017

Fixes #169

Currently PutObject call with unknown stream size loops infinitely. Fixed that bug and added a functional test.

@poornas
Copy link
Contributor Author

poornas commented Sep 22, 2017

@donatello and @krishnasrinivas , pinging for reviews.


if (dataToCopy == null)
{
skipUpload = true;
Copy link
Member

Choose a reason for hiding this comment

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

Looks like skipUpload is not read outside the for loop, so this line can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, removed that line.

@poornas
Copy link
Contributor Author

poornas commented Sep 27, 2017

@krishnasrinivas , this is waiting on your review.

@deekoder deekoder merged commit 8405a21 into minio:master Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants