We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c1dbd2 commit b04cf1bCopy full SHA for b04cf1b
runtime/auth/aws-signing-common/common/src/aws/smithy/kotlin/runtime/auth/awssigning/AwsChunkedSource.kt
@@ -54,10 +54,10 @@ public class AwsChunkedSource(
54
}
55
if (!isChunkValid) return -1L
56
57
- val actualBytesTransferred = chunkReader.chunk.read(sink, limit)
58
- contentBytesTransferred = actualBytesTransferred - chunkReader.chunkMetadataBytes
+ val totalBytesTransferred = chunkReader.chunk.read(sink, limit)
+ contentBytesTransferred = totalBytesTransferred - chunkReader.chunkMetadataBytes
59
60
- return actualBytesTransferred
+ return totalBytesTransferred
61
62
63
override fun close() {
0 commit comments