ribesg
03/18/2020, 9:25 AMByteReadChannel
passed as response.content
inside a ResponseObserver
is now cancelled after updating from Ktor Client 1.3.0 to 1.3.2, what are we supposed to do with that?OK
. Maybe there’s a race condition that usually allows to log the body before the request’s scope/context disappears because it already takes time to read/deserialize it? And in this case as it’s just OK
and I ignore the response (I’m doing a get<Unit>
) the request is ended before the logging ends? I just don’t really know how all of this works, but would that make sense @e5l?e5l
03/18/2020, 10:49 AMget<String>
log contains response body?ribesg
03/18/2020, 10:50 AMe5l
03/18/2020, 10:50 AMget<Unit>
cancell the response body and logging also cancels(and it looks like the expected behaviour)ribesg
03/18/2020, 10:51 AMe5l
03/18/2020, 10:52 AMresponse was cancelled by user
message, could you file an issue?ribesg
03/18/2020, 10:52 AMe5l
03/18/2020, 10:53 AMribesg
03/18/2020, 10:57 AMget<Unit>
to get<String>
and there are no more errors 👍