-
Notifications
You must be signed in to change notification settings - Fork 41
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
Refactor GetObject request with Range Header to Skip HeadRequest - Part 3 #397
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
6b052a1
Parse the user provided range header
waahm7 43bc2a4
Add logic to skip head request given start range
waahm7 5521490
remove allocator unusued
waahm7 3854912
remove allocator
waahm7 49d8d51
Force headObject by missing start range
waahm7 273d2d8
convert to size_t
waahm7 a001a3f
fix empty file logic
waahm7 0ad2a44
Fix mock test
waahm7 edf6b9b
Merge branch 'refactor-empty-file' into refactor-ranged-get-object
waahm7 745c3bb
Update comment
waahm7 a65473c
Update comments
waahm7 6849e21
lint fix
waahm7 824fe27
update comment
waahm7 bf0571c
Fix todos
waahm7 118cadc
Add the startRange>endRange case todos
waahm7 99903d5
Refactor the parsing logic
waahm7 2e244c2
remove todo
waahm7 8c8dfa9
Fix test
waahm7 cda3be3
Refactor object_size vs content_length
waahm7 b4ad24f
update comments
waahm7 939c395
Add parse range header tests
waahm7 8a2b2ab
First part size alignment
waahm7 9be9cb0
Remove alignment, as it doesn't appear to affect the benchmarks.
waahm7 50b4f22
Clean up
waahm7 68521d9
Make sure CI is working even with alignment
waahm7 d7ca4b4
Fix the object range to remain 'not satisfiable' even with alignment.
waahm7 ff2ca61
Fix bug where response body can be greator than part_size in case of …
waahm7 7270195
remove invalid range
waahm7 2f1e084
remove alignment and fix etag in case of first_part_size_mismatch
waahm7 4edd1c1
Update source/s3_auto_ranged_get.c
waahm7 1e77d70
Update source/s3_auto_ranged_get.c
waahm7 424c939
Update comment
waahm7 49c38e4
refactor parsing function
waahm7 e60efc3
Fix in test as well
waahm7 28db482
remove unused variable
waahm7 254a152
PR Feedback
waahm7 9ca78cf
Add test for empty file with range case
waahm7 0c0cc98
Rename variables
waahm7 b077d39
Update comments
waahm7 093945c
Fix another bug
waahm7 f2dfa19
Merge branch 'refactor-empty-file' into refactor-ranged-get-object
waahm7 0c101b7
remove space
waahm7 7b703a0
comment cleanup
waahm7 aababa8
Remove bytes=-0 test
waahm7 5ef1b80
Update log
waahm7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore the buffer ticket, as the error response might not fit into the reserved buffer.