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

[redbean] Support unix domain sockets in Fetch #1159

Open
mterron opened this issue Apr 28, 2024 · 0 comments
Open

[redbean] Support unix domain sockets in Fetch #1159

mterron opened this issue Apr 28, 2024 · 0 comments

Comments

@mterron
Copy link

mterron commented Apr 28, 2024

There are several context (in particular security sensitive ones) where a service should be exposed only over a unix socket and not over the network (like blackholed does). At the moment, connecting to these services from Redbean is more difficult than it could be with a little bit of syntax sugar.

It'd be great if Redbean's Fetch could accept a unix:// address and not just http and https instead of having to use the barebones unix.socket, unix.bind, unix.write and unix.read dance.

@mterron mterron changed the title Support unix domain sockets in Fetch [redbean] Support unix domain sockets in Fetch Apr 28, 2024
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

No branches or pull requests

1 participant