Skip to content

Commit 58245d8

Browse files
committed
Merge branch 'w/8.8/bugfix/CLDSRV-620/strip-trailing-checksums' into tmp/octopus/w/9.0/bugfix/CLDSRV-620/strip-trailing-checksums
2 parents 06f6709 + aa47d04 commit 58245d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/auth/streamingV4/trailingChecksumTransform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class TrailingChecksumTransform extends Transform {
7777
});
7878
// if bigger, the chunk would be over 5 GB
7979
// returning early to avoid a DoS by memory exhaustion
80-
return callback(errors.InvalidArgument);
80+
return callback(errors.EntityTooLarge);
8181
}
8282
if (lineBreakIndex === -1) {
8383
// no delimiter, we'll keep the chunk for later

0 commit comments

Comments
 (0)