The following reply was made to PR mod_cgi/3918; it has been noted by GNATS.
From: John Ray <jray@postoffice.ag.ohio-state.edu>
To: coar@apache.org
Cc: apbugs@apache.org
Subject: Re: mod_cgi/3918: CGIs that require ANY sort of processing time fail. No errors
are logged.
Date: Thu, 25 Mar 1999 15:19:00 -0500
> When you say the script takes a while to generate output,
> are you including the emission of the CGI response header
> in that? The server needs to hear that reasonably quickly;
> the actual content body can take longer without any
> problem.
>
Nope, its something other than that... for example, look at this URL:
Apache 1.2:
http://www.ag.ohio-state.edu/~jray/quicktest.cgi
Apache 1.3.4:
http://www.ag.ohio-state.edu:8080/~jray/quicktest.cgi
The source for quicktest.cgi is nothing but:
#!/usr/bin/perl
$|=1;
print "Content-type: text/html\n\n";
print "Start.<P>";
sleep 1;
print "Finish!";
With 1.2, it executes as you'd expect (for a buffered CGI)... With
1.3.4, you immediately get the "Start" - then it just dies.
:(
--- John
|