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 one byte range handling #272

Merged
merged 5 commits into from
Apr 5, 2023
Merged

Fix one byte range handling #272

merged 5 commits into from
Apr 5, 2023

Conversation

DmitriyMusatkin
Copy link
Contributor

Issue #, if available:

Description of changes:
s3 ranged are inclusive, so range of 8-8 actually has a length of 1 byte, but code incorrectly assumed that it is 0 bytes. this change fixes the issue to handle that range as 1 part

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-commenter
Copy link

Codecov Report

Merging #272 (0304e00) into main (121a918) will increase coverage by 0.10%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #272      +/-   ##
==========================================
+ Coverage   87.26%   87.37%   +0.10%     
==========================================
  Files          16       16              
  Lines        4061     4070       +9     
==========================================
+ Hits         3544     3556      +12     
+ Misses        517      514       -3     
Impacted Files Coverage Δ
source/s3_util.c 98.68% <ø> (ø)

... and 2 files with indirect coverage changes

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.

3 participants