-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly detect EOL in chunked uploads
Even though the AWS documentation says that they always use "CRLF" as the EOL indicator, it seems to depend on the system when using async (native) clients. Now, we use a BufferedReader to correctly detect and read full lines where we need to. MultiPartUploadV2IT#testMultipartUpload_asyncClient failed when using a file >16KB before this fix, now it is successful. Fixes #1818
- Loading branch information
Showing
24 changed files
with
907 additions
and
456 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
129 changes: 129 additions & 0 deletions
129
integration-tests/src/test/resources/sampleFile_large.txt
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
119 changes: 0 additions & 119 deletions
119
server/src/main/java/com/adobe/testing/s3mock/util/AbstractAwsInputStream.java
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
...er/src/main/java/com/adobe/testing/s3mock/util/AwsChunkedDecodingChecksumInputStream.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.