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

daemon: support unix domain sockets for the API/gateway #6678

Merged
merged 2 commits into from
Oct 1, 2019

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Sep 26, 2019

All the work was client-side. Unix domain socket multiaddrs already worked server-side.

Motivation:

  • Security. This way, browsers, other users, etc. can't access the local node.
  • Performance. Unix domain sockets are simply faster.

fixes #4218

@Stebalien
Copy link
Member Author

Note: this is just the HTTP API over a unix domain socket.

All the work was client-side. Unix domain socket multiaddrs already worked
server-side.

fixes #4218
We no longer spit out the annoying http error.
@Stebalien Stebalien merged commit be87862 into master Oct 1, 2019
@Stebalien Stebalien deleted the feat/api-over-unix branch October 2, 2019 15:47
AluisioASG added a commit to AluisioASG/ipfs-cluster that referenced this pull request Sep 1, 2020
This is based on similar work done for ipfs at ipfs/kubo#6678.
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.

Support Unix Sockets
1 participant