Is there a good work around for this incompatibili...
# ktor
m
Is there a good work around for this incompatibility with
<domain-config>
network config on Android? The work around appears to be to drop down to fully enabling all clear text comms (which seems wild). To fix this bug, all that appears to be missing is an update to this function call to add in the hostname of the request. Is there a time table for release? This issue has existed since 1.5 and still isn’t fixed in the mainline branch. See the attached JIRA issue. https://github.com/ktorio/ktor/blob/1d56e5505135022f72ff666e08f5d83a03413b04/ktor-[…]r-network-tls/jvm/src/io/ktor/network/tls/TLSClientHandshake.kt https://youtrack.jetbrains.com/issue/KTOR-2243
👍 1
As a follow on to this question: there doesn’t appear to be any Android-specific code in the KTOR client. While the fix to this seems relatively straight forward (pass the hostname to AOSP), the tooling changes around a contribution like this seem like a relatively steep climb. Any thoughts here?