1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00
Files
apache/modules/generators
Jeff Trawick 5b3c8b1c32 Call ap_pass_brigade() *before* soaking up stderr. The normal CGI
is going to write a bunch of stuff to stdout and nothing to stderr.
Reading stderr before processing the stdout pipe can cause deadlock if
the CGI fills the kernel buffer for stdout because the CGI will stall
writing to stdout while the httpd process will stall reading from the
CGI's stderr.

The NPH CGI behavior was unchanged.  If this is still a problem for NPH
CGIs, it was a problem before filtering too.

Also, get rid of a couple of unused variables in cgi_handler.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86150 13f79535-47bb-0310-9956-ffa450edef68
2000-08-26 19:45:15 +00:00
..
1999-06-18 18:39:23 +00:00
1999-06-18 18:39:23 +00:00
1999-06-18 18:39:23 +00:00
PR:
2000-05-26 05:09:17 +00:00
1999-06-18 18:39:23 +00:00
PR:
2000-05-26 05:09:17 +00:00
1999-06-18 18:39:23 +00:00