We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 06f6709 + aa47d04 commit 58245d8Copy full SHA for 58245d8
lib/auth/streamingV4/trailingChecksumTransform.js
@@ -77,7 +77,7 @@ class TrailingChecksumTransform extends Transform {
77
});
78
// if bigger, the chunk would be over 5 GB
79
// returning early to avoid a DoS by memory exhaustion
80
- return callback(errors.InvalidArgument);
+ return callback(errors.EntityTooLarge);
81
}
82
if (lineBreakIndex === -1) {
83
// no delimiter, we'll keep the chunk for later
0 commit comments