The following reply was made to PR mod_cgi/2894; it has been noted by GNATS.
From: Gerd Knops <[EMAIL PROTECTED]>
To: Marc Slemko <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: mod_cgi/2894: cgi triggers premature EOF to be sent to client
Date: Mon, 24 Aug 98 03:13:26 -0500
Hi,
I found a simple cgi that reproduces the problem on my machine:
---------cut---------
#!/usr/local/bin/perl -w
print "Content-type: text/html\n\n";
for($i=1;$i<20;$i++)
{
print '-' x 4608;
sleep 2;
}
print "END\r\n";
---------cut---------
Without the 'sleep 2;' it works as expected, with the sleep the output is
cut short.
Gerd