http://httpd.apache.org/docs/2.4/mod/core.html#timeout "In mod_cgi, the length of time to wait for output from a CGI script." It is unclear whether it is about the time until the CGI script closes stdout or about the time until the first character from the CGI output appears. Please make your documentation more clear.
Hi Victor, I updated https://httpd.apache.org/docs/trunk/mod/core.html#timeout, I believe the answer is the first byte received not the whole output. Going to wait for a bit of feedback before updating 2.4's documentation too. Thanks! Luca
After some feedback the description is now a very simple: "In mod_cgi (and mod_cgid), the length of time to wait for any individual block of output from a CGI script." So the timeout is not only for the first byte emitted, but also the maximum allowed time between blocks of bytes returned by the CGI script. Let me know if it is clear enough or if it needs a better explanation :) Luca
2.4 documentation updated, please re-open the task if anything is missing or the documentation is still unclear. Thanks!
I think the documentation might actually be incorrect for mod_cgi, but I'm going to be opening a bug report about that shortly...