Fork me on GitHub
#cider
<
2021-03-22
>
kirill.salykin10:03:44

hi Is it possible to connect to cider via unix socket? (i was not able any mention of it, but maybe my google-fu is bad)

bozhidar10:03:52

Not yet, as nREPL doesn't support UNIX sockets, but it should become possible soon.

solf10:03:32

What a timely question :d

bozhidar10:03:24

Indeed - seems there's demand for UNIX sockets after all. 😄

bozhidar10:03:46

They were kind of problematic on Java, as the JDK didn't support them out of the box until a few days ago.

lispyclouds10:03:18

@U051BLM8F we had built this thing based on OkHttp to fill this gap: https://github.com/into-docker/unixsocket-http See if its of use to you if you'd wanna support older JDKs 😄 This was built mainly for the docker socket usecases in clj-docker-client

bozhidar10:03:47

There will be an optional fallback with a 3rd party library for people on older JDKs, but people will have to add the dep manually to their projects, as nREPL itself can't have hard deps to avoid collisions with user code.