Commit 82233f0
committed
fix(rt): isClosedForRead implies availableForRead is zero
The new roundTrip integrity checks found a case
where `isClosedForRead` flag was erroneously false. This was due
to the fact that the segments channel was drained but the current
segment had not been completely read. Updated the flag to explicitly
include the implied behavior that once `isClosedForRead` is true
the channel will never return any additional bytes from a read() call.1 parent eda6800 commit 82233f0
File tree
1 file changed
+1
-1
lines changed- aws-runtime/http-client-engine-crt/common/src/aws/sdk/kotlin/runtime/http/engine/crt
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments