[8477] in www-talk@info.cern.ch
Re: Lost bytes in an http server reply - very strange
daemon@ATHENA.MIT.EDU (Jean-Christophe Touvet)
Sun Jun 25 19:14:18 1995
To: nazgul@utopia.com (Kee Hinckley)
Cc: www-talk@www10.w3.org
In-Reply-To: <v02120d0fac0a7bd8f31b@[204.57.39.3]>
Date: Tue, 20 Jun 1995 16:46:12 +0200
From: Jean-Christophe Touvet <jct@edelweb.fr>
> ** 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-