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 the new distribution handshake #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

igoralmeida
Copy link

Hi,

This PR allows CLERIC to connect to elixir once again. It does so by using the new handshake messages and pretending that it supports all the capabilities iex requires.

I haven't tested this thoroughly because I don't fully understand what each capability means.

It is possible, however, to (a) connect to iex with remote-node-connect; (b) send messages using reg-send; and (c) receive messages with receive-node-messages. Doing these things requires flambard/cl-erlang-term#7

Like the other PR, this is not really intended to be merged as-is, more for gathering comments and preventing bit-rot.

Cheers

Tested only `perform-client-handshake` with iex, not `perform-server-handshake`.

I have also not tested every capability, the added flags seem to be the
bare minimum to avoid a rejection from elixir.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant