Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changes/next-release/bugfix-AWSSDKforJavav2-8d76030.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "bugfix",
"category": "AWS SDK for Java v2",
"contributor": "",
"description": "Increased the default chunk size from 16KB to 128KB for async trailer-based checksum data transfers when using a custom legacy signer"
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public final class HttpChecksumConstant {
/**
* Default chunk size for Async trailer based checksum data transfer*
*/
public static final int DEFAULT_ASYNC_CHUNK_SIZE = 16 * 1024;
public static final int DEFAULT_ASYNC_CHUNK_SIZE = 128 * 1024;

private HttpChecksumConstant() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ChecksumCalculatingAsyncRequestBodyTckTest extends PublisherVerific
private static final int MAX_ELEMENTS = 1000;
private final FileSystem fs = Jimfs.newFileSystem(Configuration.unix());
private final Path rootDir = fs.getRootDirectories().iterator().next();
private static final int CHUNK_SIZE = 16 * 1024;
private static final int CHUNK_SIZE = 128 * 1024;
private final byte[] chunkData = new byte[CHUNK_SIZE];

public ChecksumCalculatingAsyncRequestBodyTckTest() throws IOException {
Expand Down
Loading