Re: Lost bytes in an http server reply - very strange

> ** The Problem
> Sometimes large, cgi-generated html files lose blocks of data
>
> ** Background
> o http1.3 server running on SunOS
> o Perl cgi-script producting output
> o Output in the 10-20K range

 Seems to be a problem with double bufferization on client <-> script
pipe, this is why you don't see the bug while running your script from the
shell.

 With perl, setting $| = 1 at the beginning of each CGI script apparently
solves the problem.

 Hope this helps,

    -JCT-

Received on Tuesday, 20 June 1995 10:46:23 UTC