Skip to content

Commit ed67b75

Browse files
authored
Update ktor to 3.0.2 (#285)
1 parent 20e9834 commit ed67b75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ kotlinx-coroutines = "1.9.0"
77
kotlinx-benchmark = "0.4.8"
88
kotlinx-bcv = "0.16.3"
99

10-
ktor = "3.0.1"
10+
ktor = "3.0.2"
1111

1212
netty = "4.1.115.Final"
1313
netty-quic = "0.0.69.Final"

rsocket-transports/ktor-tcp/src/commonMain/kotlin/io/rsocket/kotlin/transport/ktor/tcp/KtorTcpConnection.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ private class KtorTcpConnection(
9191
}
9292
}
9393

94-
@OptIn(InternalAPI::class) // TODO?
94+
@OptIn(InternalAPI::class)
9595
private fun ByteWriteChannel.writeFrame(frame: Buffer) {
9696
writeBuffer.writeInt24(frame.size.toInt())
9797
writeBuffer.transferFrom(frame)
9898
}
9999

100-
@OptIn(InternalAPI::class) // TODO?
100+
@OptIn(InternalAPI::class)
101101
private suspend fun ByteReadChannel.readFrame(): Buffer? {
102102
while (availableForRead < 3 && awaitContent(3)) yield()
103103
if (availableForRead == 0) return null

0 commit comments

Comments
 (0)