I’ve spent all evening wrestling with an itty-bitty problem, getting the output of a CGI script to … well, output. I finally narrowed it down to a couple of simple things:
. Compression was enabled, so apache has to read all the output from the CGI before it can do anything,
. I wasn’t adding the “Content-Encoding: chunked” header by myself, so apache wants to read all the output before writing anything to the browser.