I think I found a bug with Ktor's Java Client + SS...
# ktor
m
I think I found a bug with Ktor's Java Client + SSE
Copy code
suspend fun main() {
    val http = HttpClient(Java) {
        this.expectSuccess = false
        this.followRedirects = false

        install(SSE)
    }

    val sseSession = http.sseSession("<http://127.0.0.1:13004/sse>") {}

    sseSession.cancel()

    delay(100_000)
}
The SSE session does NOT close on the backend, this bug does not happen when using the CIO engine (will create a proper bug report later)
a
Thank you for the report.