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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]