Script should handle port listening
Opened this issue · 2 comments
nomicode commented
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.
Deleted user commented
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 commented
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 :-)