Skip to content

Commit

Permalink
Not KDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Dec 17, 2024
1 parent 845852e commit 1f418c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public fun InputStream.asByteStream(contentLength: Long? = null): ByteStream.Sou
reset()
mark(contentLength.toInt())
return object : SdkSource by source() {
/**
/*
* This is a no-op close to prevent body hashing from closing the underlying InputStream, which causes
* `IOException: Stream closed` on subsequent reads. Consider making [ByteStream.ChannelStream]/[ByteStream.SourceStream]
* (or possibly even [ByteStream] itself) implement [Closeable] to better handle closing streams.
Expand Down

0 comments on commit 1f418c0

Please sign in to comment.