httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49270] New: CGI Scripts block on large POST data when writing to stdout
Date Tue, 11 May 2010 07:33:30 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49270

           Summary: CGI Scripts block on large POST data when writing to
                    stdout
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: b700640@owlpic.com


Please watch this code:

void main(int argc, char *argv[], char* envp[] )
{
    printf("Content-Type: text/plain;charset=us-ascii\n\n");
    for(;;)
    {
        printf("working\n");
        fflush(stdout);
        Sleep(100);
    }
}

It works finde. Puts "working" scrolling down the browser.
But when you POST a lot of data to this script (about 63-64 KBytes and more)
than the cgi script blocks. You have to kill the script via taskmanager to see
any output.

-- 
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


Mime
View raw message