Omar Polo ee8569c6e6 simplify cgi function
Don't fork+execlp the script.  There's no need to do so since on exec
the new process will inherit our file descriptor table (and hence our
stdout), so copying from its stdout to ours is just a waste of time.
This allows to drop the ``proc'' pledge(2) promise and to (slightly)
improve performance.
2021-03-09 19:14:42 +01:00
var/gemini ignore after ? and make cgi+virtualhost work (sort of) 2021-01-31 21:21:15 +01:00 simplify cgi function 2021-03-09 19:14:42 +01:00