Keep on getting a segmentation fault when creating...
# ktor
n
Keep on getting a segmentation fault when creating an instance of
HttpClient
using this project: https://gitlab.com/napperley/openfaas-weather-sample
Very disappointing that the quality of the Ktor Client library for the linuxX64 target has gone downhill. The Ktor team need to get on top of memory issues (segmentation faults, memory leaks etc). With the way things are going Ktor Client isn't usable for experimentation.
1
May I suggest that Ktor Client uses plain KotlinX Coroutines, instead of the multi threaded version. After all Ktor Client works fine in a single threaded environment like JS for example.
c
cc @e5l
@napperley is it Curl engine?
👌 1
n
Is there more than one engine available now for the linuxX64 version?
e
Yep, you can use
CIO
and
Curl