call[fs]cgi: At least for now, simply block when connecting to handler.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 12 May 2025 15:59:39 +0000 (17:59 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 12 May 2025 15:59:39 +0000 (17:59 +0200)
commit8bff711bd88d36c8600bfd7504b47a6c56a1d3f6
tree843534e4e5b427798cb689c06ae7abb60535ca4f
parent7d88babb6f33b528eb8410c7e496448f2657d9c2
call[fs]cgi: At least for now, simply block when connecting to handler.

It's not optimal, but the naive mtio implementation has the thundering-herd
problem, and this also creates a natural choke-point, transmitting the request
buffering responsibility to the parent handler where it belongs.

The more ideal solution would probably be to let running requests continue
being handled while serializing receving incoming requests and connecting to
the request handler.
src/callfcgi.c
src/callscgi.c