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

Script should handle port listening #7

Open
nomicode opened this issue Sep 16, 2012 · 2 comments
Open

Script should handle port listening #7

nomicode opened this issue Sep 16, 2012 · 2 comments

Comments

@nomicode
Copy link

It would be easier to use if the script were able to listen to the port itself. This might require calling itself recursively. But the appropriate functionality can be switched with command line options.

@ghost
Copy link

ghost commented Sep 16, 2012

I think we should consider invoking socat within bashttpd. Socat has options for fork() after accept(), that we could potentially leverage to service more then one incoming request.

@avleen
Copy link
Owner

avleen commented Sep 16, 2012

Right. This is why I went with socat to begin with, the ability to fork().
If we can do that inside the script, let's do it :-)

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

2 participants