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 option to wait until EOF before starting server if serving from stdin #19

Closed
raphaelreyna opened this issue Aug 4, 2020 · 0 comments

Comments

@raphaelreyna
Copy link
Collaborator

Currently, oneshot will start serving HTTP as soon as it can and will hold a clients connection until it receives an EOF from stdin (if serving from stdin). It'd be nice to be able to turn this off in order to reuse ports in a scenario like:

$ oneshot -u | oneshot
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