Wanted to share this, perhaps I'm missing/misunder...
# ktor
d
Wanted to share this, perhaps I'm missing/misunderstanding something: I was running a Ktor 2.0
testApplication
test with 100 async calls by a client . However, it started locking up quite quickly and not even sending the remaining calls to the server. At first I thought this problem must be in my service. But in the end it even happened if the service did nothing. I solved it by configuring the CIO engine for the client
Copy code
val client = createClient {
                engine { CIO }
                install(WebSockets)
            }
(the websockets is there because I needed it..) I was wondering: is this a known thing ? Or is there a different approach that would be preferred?
a
This is a bug so I’ve filed it https://youtrack.jetbrains.com/issue/KTOR-4431.
d
Thank you blob smile happy