-
Notifications
You must be signed in to change notification settings - Fork 86
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
Accept a FD instead of a port number. #37
Comments
i am very interested in this, too. |
The new snap server will support this. |
Also interested. |
Me, too, because I want to set some non-portable flags when opening the socket such as SOCK_CLOEXEC or |
Apologies for missing that - thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice to be able to start the server on an existing file descriptor instead of having it opening one based on a port number. This can be usefull e.g. with Circus: Circus will manage the port (and call
listen
on it) and fork the server, allowing it toaccept
on the FD shared between possibly multiple snap workers.The text was updated successfully, but these errors were encountered: