Hello, I think I've found a bug and opened an issu...
# ktor
q
Hello, I think I've found a bug and opened an issue for it: https://github.com/ktorio/ktor/issues/1216 It seems like when a timeout occurs during the deserialization phase of a request (hard to reproduce), we get a
Operation is a already in progress
exception. Any advice on what I could do to avoid this in the meantime ?
t
I’m getting exactly the same error. I haven’t tried to reproduce it yet in a new project, but the cause is probably that I try to cancel the request. (Just like in the stack trace where it shows HttpsResponse$close)
q
Cancelling a request should not cause particular problems though, no ?
t
withTimeout
just cancels the request as well, so I think that would work the same as cancelling it manually, like I do. I don’t think it is supposed to throw this exception.