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

Add support for already-listening sockets #3

Open
wants to merge 3 commits into
base: jarred/bun
Choose a base branch
from

Conversation

shivak
Copy link

@shivak shivak commented May 4, 2023

As mentioned in uNetworking#192, it would be nice to support Bun.serve({fd: ...}), much like Node's server.listen({fd: ...}), for advanced deployments. This will be followed by PRs to uWebSockets and then bun.

shivak added 3 commits January 5, 2023 18:01
Adds `us_socket_context_listen_direct`, which takes a socket rather than a port or a path to a UNIX socket.
Simple showcase of passing a socket into a restricted Linux network namespace.
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