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 GetObject returning invalid object size when range is requested #660

Merged
merged 3 commits into from
Oct 11, 2023

Conversation

ChrisSchinnerl
Copy link
Member

@ChrisSchinnerl ChrisSchinnerl commented Oct 11, 2023

This fixes an issue observed when mounting files via rclone.
Essentially rclone would use the invalid size we return to fire invalid range requests, causing issues with downloads.

@ChrisSchinnerl ChrisSchinnerl self-assigned this Oct 11, 2023
@ChrisSchinnerl ChrisSchinnerl marked this pull request as ready for review October 11, 2023 09:25
worker/serve.go Outdated Show resolved Hide resolved
@peterjan peterjan merged commit 0ddf29d into master Oct 11, 2023
6 checks passed
@peterjan peterjan deleted the chris/fix-content-range branch October 11, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants