3 ms·
Hmm looks similar to stdinho https://github.com/ostrolucky/stdinho https://github.com/ostrolucky/stdinho. Difference is that script-httpd accepts incoming http
by gadelat 6y ago
Hmm looks similar to stdinho https://github.com/ostrolucky/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.