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 665de34 commit 772b2aeCopy full SHA for 772b2ae
ktor-utils/jvm/src/io/ktor/util/ZstdEncoding.kt
@@ -71,6 +71,7 @@ private suspend fun ByteReadChannel.decodeTo(
71
try {
72
var decompressedBytesCount: Int
73
do {
74
+ buf.clear()
75
decompressedBytesCount = zstdStream.read(buf.array())
76
77
if (decompressedBytesCount > 0) {
0 commit comments