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

Picot

11/28/2023, 11:15 PM
Hi all, I'm working on a backend at work and we need to support HTTP over unix domain socket. It seems that Netty supports it natively but Ktor doesn't provide the API to use it. Has anyone managed to get a unix domain socket working with Ktor?
s

suresh

11/29/2023, 12:21 AM
i also want to do the same, but seems like there is no option as of today - https://kotlinlang.slack.com/archives/C0A974TJ9/p1697043800187839
🥲 1
p

Picot

11/29/2023, 12:25 AM
I've thought about copying the Netty engine locally and modifying it so it can pass unix paths but it's going to be ugly. I'm sad this isn't on the roadmap for version 3.0
👌 1
h

hfhbd

11/29/2023, 7:18 AM
For CIO
p

Picot

11/29/2023, 2:52 PM
Do you think it will be difficult to add support for Netty once this has been done for CIO?
a

Aleksei Tirman [JB]

11/30/2023, 8:48 AM
@Picot, you can file a feature request here.