-
Notifications
You must be signed in to change notification settings - Fork 14
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
Config for unix socket listeners #23
Comments
Let's not extend the |
I understand. The thing is that this will lead to tons of duplicate boilerplate in your schema files (the domain socket will use TCP transport, can theoretically even use SSL). I think the best approach is to go just one step further and introduce a new datatype that corresponds to the Erlang |
Sounds good. |
I'll provide a PR. Will take a while as I need it to be part of a working end-to-end implementation. |
@ioolkos - Should we open a PR with your implementation on https://github.com/ioolkos/cuttlefish/tree/feature_domain_socket? |
@codeadict Thanks, I forgot about this. It was just a quick hack but we can open a PR. In relation to Verne itself, there's still a minor issue: vernemq/vernemq#2008 |
@ioolkos I think you can alsp have a single type, like domain_socket and specify 2 types in the schema like |
I'd like to use Cuttlefish configuration for unix domain sockets similar to the following config snippet:
This will currently be captured and disallowed by the
ip
datatype validation here:cuttlefish/src/cuttlefish_datatypes.erl
Line 302 in a0a3ed5
Would an extension to that
ip
validation be the right approach? better ideas?The text was updated successfully, but these errors were encountered: