https://kotlinlang.org logo
#ktor
Title
# ktor
b

bitkid

01/23/2020, 9:28 AM
hey! any ideas why idea complains about this code when reading multipart (BlockingMethodInNonBlockingContext)? it seems it's ok to do
Copy code
part.streamProvider().reader() // do some stuff with the reader
but it's not ok to do
Copy code
GZIPInputStream(part.streamProvider().buffered()).reader()
my expectation was that wrapping a stream should not be blocking or?
c

cy

01/24/2020, 6:24 PM
Both are blocking in fact