Skip to content

Support the new distribution handshake#14

Open
igoralmeida wants to merge 2 commits intoflambard:masterfrom
igoralmeida:handshake-23
Open

Support the new distribution handshake#14
igoralmeida wants to merge 2 commits intoflambard:masterfrom
igoralmeida:handshake-23

Conversation

@igoralmeida
Copy link
Copy Markdown

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