Hacker News new | ask | show | jobs
by gadelat 2121 days ago
Hmm looks similar to stdinho https://github.com/ostrolucky/stdinho. Difference is that script-httpd accepts incoming http data and pipes it to process, returning result. Stdinho does not accept incoming http data, it just takes whatever stdout process returns right as process starts. This allows it to not wait for http connection and start buffering before that.
1 comments

stdinho just reads raw data from stdin, whereas script-httpd proxies to an executable command.
That's what I said, right?