CGI output lossage

Andy Norman writes:
 > Apologies if this is a FAQ.
 > 
 > When attempting to run cgi-bin scripts under Jigsaw, it looks like sometimes
 > the complete output from the script being run isn't being returned.  It isn't
 > deterministic how much of the output actually gets back to the client.  If I
 > run a fast program like /bin/echo, sometimes I get the text, sometimes nothing 
 > gets back.
 > 
 > I suspect that this is a bug in either HP's port of JDK 1.02 or a standard bug
 > in 1.02 to do with data being lost when the process exits, but if anybody has
 > seen this before and knows of a good workaround, please post.

Hi Andy,

Indeed, a bug in 1.0.2, I used to have a work around (as I remember
this happens - underminastically - because some IOException get thrown
randomly) but it would just reduce the probabillity without
eliminating the problem.

It works fine under 1.1.1 ;-)

Anselm.

Received on Tuesday, 13 May 1997 10:14:01 UTC