Skip to content
  1. Sep 12, 2000
  2. Sep 11, 2000
  3. Sep 10, 2000
  4. Sep 09, 2000
  5. Sep 08, 2000
  6. Sep 07, 2000
  7. Sep 06, 2000
  8. Sep 02, 2000
  9. Sep 01, 2000
  10. Aug 30, 2000
  11. Aug 29, 2000
  12. Aug 28, 2000
  13. Aug 26, 2000
    • Jeff Trawick's avatar
      Call ap_pass_brigade() *before* soaking up stderr. The normal CGI · 504b66e5
      Jeff Trawick authored
      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
      504b66e5