https://kotlinlang.org logo
#ktor
Title
# ktor
s

spierce7

02/20/2022, 4:20 PM
How would I configure my app using ktor client running Kotlin Native to only connect to a server using TLS 1.3?
a

Aleksei Tirman [JB]

02/21/2022, 12:19 PM
Unfortunately, it's impossible right now. You can file an issue if you want to see this functionality in Ktor.
s

spierce7

02/21/2022, 3:00 PM
What is the underlying system that native uses? Perhaps it can be configured to only use 1.3?
a

Aleksei Tirman [JB]

02/21/2022, 3:54 PM
It uses the curl library. I didn't find a way to do it because the curl handler is private so it's impossible to set this option.