Skip to content

Conversation

@shivak
Copy link

@shivak shivak commented May 11, 2023

This is the library backing for Bun.serve({fd}) and Bun.listen({fd}) (see oven-sh/bun#2852)

This relies on changes to uSockets, but I didn't redirect the submodule. To build, either merge Jarred-Sumner/uSockets#3 or use my fork: https://github.com/shivak/uSockets/tree/bun-direct.

An App can now attach directly to an fd which was passed during e.g.
socket activation. This calls the new `us_socket_context_listen_direct`
function in uSockets.
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