Don't know whether it is problem of `K/N` or `ktor...
# ktor
a
Don't know whether it is problem of
K/N
or
ktor
. When I add next dependencies to my program
Copy code
commonMain {
            dependencies {
                implementation "org.jetbrains.kotlin:kotlin-stdlib-common"

                implementation "io.ktor:ktor-client-core:1.1.1"
                implementation "io.ktor:ktor-client-json:1.1.1"
            }
        }
        linuxMain {
            dependencies {
                implementation "io.ktor:ktor-client-json-native:1.1.1"
            }
        }
even
K/N
executable with an empty main function crashes on exit with next assertion:
Copy code
/opt/buildAgent/work/4d622a065c544371/runtime/src/main/cpp/Memory.cpp:1129: runtime assert: Memory leaks found
zsh: abort (core dumped)  ./build/bin/linux/main/debug/executable/kafka-connect-rest-client.kexe
r
I think the ktor client is iOS only. Unless that changed when I wasn't paying attention.
a
The client itself is also available on linux. You can use it in tests with
MockEngine
. Also there is
Curl
engine in the master which works fine on linux. I've already tested it.