-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Describe the bug
So the flow the server is collecting is still alive even after client disconnect.
Is this by design? Does that mean I have to add timeout to every flow consumer in case the client hangs up?
To Reproduce
Steps to reproduce the behavior:
- Kotlin version: 2.2.0
- Gradle version: 8.9
- OS (Or at least KMP platform): JVM
- KRPC: 0.9.1
Expected behavior
Shouldn't the flow throw with cancellation when client disconnect?
Additional context
I'm using flow to stream ByteArray to remote server.
I don't know if this is relevant but I'm using ktor client + okhttp and ktor server + netty, and waitForServices: true
EDIT:
Perhaps related to #446?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working