ktorio / ktor

Framework for quickly creating connected applications in Kotlin with minimal effort
https://ktor.io
Apache License 2.0
12.86k stars 1.04k forks source link

KTOR-7012 Deprecate `InputStream.toByteReadChannel` with fallback to ktor-io module #4303

Closed osipxd closed 3 weeks ago

osipxd commented 3 weeks ago

Subsystem Server, ktor-core

Motivation KTOR-7012 InputStream.toByteReadChannel creates an unattached job

Solution Deprecate this extension in favor of the variant from ktor-io which doesn't suffer from this problem.