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

plugin: listen on IP address #2

Merged
merged 3 commits into from Apr 15, 2022
Merged

plugin: listen on IP address #2

merged 3 commits into from Apr 15, 2022

Conversation

hexfusion
Copy link
Contributor

Currently avalanche go only supports plugins listening on IP address. In the future we will add support for abstract unix sockets once the support is added for tonic[1].

[1] hyperium/tonic#966

Signed-off-by: Sam Batschelet <sam.batschelet@avalabs.org>
Signed-off-by: Sam Batschelet <sam.batschelet@avalabs.org>
@gyuho
Copy link
Collaborator

gyuho commented Apr 15, 2022

Currently avalanche go only supports plugins listening on IP address

go-plugin seems to work with unix? https://github.com/hashicorp/go-plugin/blob/044aadd925bf9f027cb301b2af9bc6b60775dd22/docs/internals.md#handshake

@hexfusion
Copy link
Contributor Author

hexfusion commented Apr 15, 2022

Yeah its not a limitation persay it was a design decision to support abstract unix sockets vs unix sockets. But as tonic does not support this yet we have tcp listener. Will add comments

Signed-off-by: Sam Batschelet <sam.batschelet@avalabs.org>
@hexfusion hexfusion merged commit 1ef06f4 into main Apr 15, 2022
@gyuho gyuho deleted the listen-ip branch April 15, 2022 18:00
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.

None yet

2 participants