You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: runtime/auth/aws-signing-common/common/src/aws/smithy/kotlin/runtime/auth/awssigning/AwsChunkedByteReadChannel.kt
+1-9Lines changed: 1 addition & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -48,20 +48,12 @@ public class AwsChunkedByteReadChannel(
48
48
/**
49
49
* Tracks the total bytes transferred, including chunk metadata.
50
50
*/
51
-
privatevar totalBytesTransferred:Long=0L
52
-
53
-
/**
54
-
* Gets the total bytes transferred for testing purposes only.
Copy file name to clipboardExpand all lines: runtime/auth/aws-signing-common/common/src/aws/smithy/kotlin/runtime/auth/awssigning/internal/AwsChunkedReader.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,9 @@ internal class AwsChunkedReader(
71
71
* @return true if the [chunk] is valid for reading, false if it's invalid (chunk data is exhausted)
Copy file name to clipboardExpand all lines: runtime/auth/aws-signing-tests/common/src/aws/smithy/kotlin/runtime/auth/awssigning/tests/AwsChunkedTestBase.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ fun interface AwsChunkedReaderFactory {
35
35
// Override read function to track totalBytesTransferred for testing
36
36
overridesuspendfunread(sink:SdkBuffer, limit:Long): Long {
Copy file name to clipboardExpand all lines: runtime/auth/aws-signing-tests/jvm/src/aws/smithy/kotlin/runtime/auth/awssigning/tests/AwsChunkedSourceTestBase.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ val AwsChunkedReaderFactory.Companion.Source: AwsChunkedReaderFactory
22
22
// Override read function to track totalBytesTransferred for testing
23
23
overridesuspendfunread(sink:SdkBuffer, limit:Long): Long {
0 commit comments