Skip to content

Commit 8ac3242

Browse files
Dillon NysJordan-Nelson
authored andcommitted
fix(sigv4): Default to non-chunked payloads for S3
This was made the default since it's much more efficient, especially on web for large uploads, but some S3 operations do not support it so it should not be the default. Instead, it will be selectively enabled in the SDK layer for operations which allow it. commit-id:0c690d3f
1 parent 3defc07 commit 8ac3242

File tree

1 file changed

+1
-1
lines changed
  • packages/aws_signature_v4/lib/src/configuration/services

1 file changed

+1
-1
lines changed

packages/aws_signature_v4/lib/src/configuration/services/s3.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class S3ServiceConfiguration extends BaseServiceConfiguration {
7474
/// {@macro aws_signature_v4.s3_service_configuration}
7575
S3ServiceConfiguration({
7676
this.signPayload = true,
77-
this.chunked = true,
77+
this.chunked = false,
7878
int chunkSize = _defaultChunkSize,
7979
this.encoding = S3PayloadEncoding.none,
8080
}) : assert(

0 commit comments

Comments
 (0)