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: make sure getObject returns error on truncated responses #1452

Merged
merged 1 commit into from Feb 15, 2021

Conversation

harshavardhana
Copy link
Member

this PR also adds tests to handle these cases specially

fixes #1451

this PR also adds tests to handle these cases specially

fixes minio#1451
Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

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

👍

@harshavardhana harshavardhana merged commit e354df4 into minio:master Feb 15, 2021
@harshavardhana harshavardhana deleted the fix-remove branch February 15, 2021 10:38
harshavardhana added a commit to harshavardhana/minio-go that referenced this pull request Feb 17, 2021
As a continuation of work from minio#1452, when object sizes are
bigger, we should calculate totalRead and match with expected
object size.

fixes minio#1451
harshavardhana added a commit that referenced this pull request Feb 18, 2021
As a continuation of work from #1452, when object sizes are
bigger, we should calculate totalRead and match with expected
object size.

fixes #1451
MichaelEischer added a commit to MichaelEischer/restic that referenced this pull request Jul 10, 2021
Possibly interesting changes:

Azure/azure-sdk-for-go#14521
Retry on HTTP client errors

minio/minio-go#1452
fix: make sure getObject returns error on truncated responses

golang/net@f585440
http2: close Transport connection on write errors
mfrischknecht pushed a commit to mfrischknecht/restic that referenced this pull request Jun 14, 2022
Possibly interesting changes:

Azure/azure-sdk-for-go#14521
Retry on HTTP client errors

minio/minio-go#1452
fix: make sure getObject returns error on truncated responses

golang/net@f585440
http2: close Transport connection on write errors
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.

Object.Read doesn't return error on truncated response
2 participants