-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Question: Do we have plan to support unix domain socket with Deno.serve
?
#20369
Comments
Bun seems to have added unix domain socket support to Bun.serve in v0.8.1 https://bun.sh/blog/bun-v0.8.1#start-an-http-server-on-a-unix-domain-socket-with-bun-serve |
From what I can tell there are technical roadblocks to support it. @mmastrac any objections? |
Node also supports serving through Unix socket and this is something I've been meaning to take into use on a particular project elsewhere the moment it becomes possible for that project. From that point of view, I am personally of the opinion that a Unix socket should be a valid connection option for any HTTP server we have. |
No objections. I suspect it should be pretty straightforward to implement as the Unix socket is plumbed through on the rust side. It just needs some JS support IIRC |
@kt3k I believe that this should be implementable like so:
|
If we support unix domain socket transport with
Deno.serve
, we probably can deprecate the entirestd/http/server.ts
. Do we have a plan for it?The text was updated successfully, but these errors were encountered: