W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1995

Re: server or Netscape buffer data before send / printin out

From: Paul Phillips <paulp@cerf.net>
Date: Tue, 5 Sep 1995 17:32:10 -0700 (PDT)
To: David Zlotchenko <zlotchen@solar.rtd.utk.edu>
Cc: www-talk@w3.org
Message-Id: <Pine.SUN.3.91.950905173020.12909D-100000@nic.cerf.net>

On Tue, 5 Sep 1995, David Zlotchenko wrote:

> I am writing a CGI application for a conferencing WWW system.  I need the 
> server to send and the client to output small portions of data as they 
> become awailable.  But, the I ran in to the following problem:  the data 
> gets printed on the screen only by accumulated chanks of approximate size 
> 3700K (or end of connection of course).  I do not know whether the server 
> holds the output from the script until it accumulates a packet of 3700K 
> or the Netscape does it.

This isn't appropriate for www-talk, please take questions like this to 
comp.infosystems.www.authoring.cgi.  The answer is that the server is 
buffering the data, and you need to use an nph- script and an unbuffered 
stdout to get the data to the client immediately.  Documentation on nph- 
scripts is available at <URL:http://hoohoo.ncsa.uiuc.edu/>

Paul Phillips                                 | "Click _here_ if you do not
<URL:mailto:paulp@cerf.net>                   |  have a graphical browser"
<URL:http://www.primus.com/staff/paulp/>      |  -- Canter and Siegel, on
<URL:pots://+1-619-220-0850/is/paul/there?>   |  their short-lived web site
Received on Tuesday, 5 September 1995 20:32:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:57 UTC