Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for redis UNIX sockets #138

Open
dertuxmalwieder opened this issue Dec 29, 2021 · 1 comment
Open

Support for redis UNIX sockets #138

dertuxmalwieder opened this issue Dec 29, 2021 · 1 comment
Labels

Comments

@dertuxmalwieder
Copy link

Maybe this is yet another documentation issue, but I'm curious how to connect a facil.io application to a redis socket file - my redis does not have "a port". Is that already supported?

@boazsegev
Copy link
Owner

boazsegev commented Dec 29, 2021

Hi @dertuxmalwieder ,

This might be a documentation issue, but it might also be an API issue. I was planning to re-visit the API for fio_connect in 0.8.x and see if I can make it more convenient.

The current documentation indicates that when the port String "0" (or NULL) is used, facil.io will attempt to resolve the address to a Unix socket. This might or might not work.

I know for a fact that I used fio_connect to connect to Unix sockets before, so it should work.

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants