Is it possible to disable Ktor client keep-alive?
# ktor
e
Is it possible to disable Ktor client keep-alive?
e
Hi @eirikb, sure 🙂 You can add header
Connection: close
e
@e5l Thank you! Just stumbled upon this after remembering this is probably related to specific engine https://stackoverflow.com/a/16807961
c
The only question is why do you want to do that? One usually should be fine with keep-alive while disabling it may cause performance issues
179 Views