You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/09/28 07:33:59 UTC

DO NOT REPLY [Bug 51904] New: output to stderr from cgi script causes script to hang *during uploads*

https://issues.apache.org/bugzilla/show_bug.cgi?id=51904

             Bug #: 51904
           Summary: output to stderr from cgi script causes script to hang
                    *during uploads*
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cgi
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apache@hrunting.org
    Classification: Unclassified


Similar problems 39342 and 22030.

In 39342, the problem was writing a bunch of data to STDOUT before reading all
of STDIN.  I can understand why that would be problematic (output to client
before input from client is complete).

I see the same behavior as 39342 when writing a bunch of data to STDERR before
fully reading STDIN.  I assume it's the same root issue as 39342: Apache simply
doesn't do anything with the CGI script's other file handles (STDOUT *or*
STDERR) while it's sending the script the data.

This prevents the CGI script from potentially logging data while it's reading
data from Apache.  That functionality shouldn't be prevented.  I can produce a
test case if necessary, as I'm hitting the bug today.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org