Skip to content

rgw: fetch_remote_obj() compares expected object size#28303

Merged
cbodley merged 1 commit intoceph:masterfrom
cbodley:wip-39992
Jun 4, 2019
Merged

rgw: fetch_remote_obj() compares expected object size#28303
cbodley merged 1 commit intoceph:masterfrom
cbodley:wip-39992

Conversation

@cbodley
Copy link
Contributor

@cbodley cbodley commented May 29, 2019

if the size of object data received doesn't match the value returned in the Rgwx-Object-Size header, fail with -EIO

Fixes: https://tracker.ceph.com/issues/39992

Signed-off-by: Xiaoxi CHEN xiaoxchen@ebay.com
Signed-off-by: Casey Bodley cbodley@redhat.com

if the size of object data received doesn't match the value returned in
the Rgwx-Object-Size header, fail with -EIO

Fixes: https://tracker.ceph.com/issues/39992

Signed-off-by: Xiaoxi CHEN <xiaoxchen@ebay.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Copy link
Contributor

@xiaoxichen xiaoxichen left a comment

Choose a reason for hiding this comment

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

LGTM.

@xiaoxichen
Copy link
Contributor

@cbodley can we merge?

@cbodley
Copy link
Contributor Author

cbodley commented Jun 4, 2019

@cbodley cbodley deleted the wip-39992 branch June 4, 2019 12:08
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