-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Get object with checksum leak when retry happens (#346)
Co-authored-by: Michael Graeb <[email protected]>
- Loading branch information
Showing
6 changed files
with
235 additions
and
124 deletions.
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
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
12 changes: 12 additions & 0 deletions
12
tests/mock_s3_server/GetObject/get_object_checksum_retry.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"status": 200, | ||
"headers": { | ||
"ETag": "b54357faf0632cce46e942fa68356b38", | ||
"Date": "Thu, 12 Jan 2023 00:04:21 GMT", | ||
"Last-Modified": "Tue, 10 Jan 2023 23:39:32 GMT", | ||
"Accept-Ranges": "bytes", | ||
"Content-Range": "bytes 0-65535/65536", | ||
"Content-Type": "binary/octet-stream", | ||
"x-amz-checksum-crc32": "q1875w==" | ||
} | ||
} |
Oops, something went wrong.