httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Content-length -- buffering
Date Wed, 03 Dec 2003 18:26:06 GMT

On Wed, 3 Dec 2003, Carl M. Gregory wrote:

> I'm tiring to have a cgi show information in real-time... but it is all
> buffered until the very end.
>
> All I can see that might be buffering it is that the header Content-Length
> is in the header list.
> I'm thinking that if it is calculating a content-length, it has to buffer so
> it can give the proper value.
>
> When I ran Apache 1.3, I did not have such a problem.  But after going to
> v2, it appeared.
>
> Any clue as to how to disable buffering or whatnot?

Exactly what version?  Some early versions of 2.0 did buffer the entire
script to calculate the length, but I don't believe that is true of the
latest version:

> lynx -head -dump http://httpd.apache.org/download.cgi
HTTP/1.1 200 OK
Date: Wed, 03 Dec 2003 18:28:44 GMT
Server: Apache/2.0.48-dev (Unix)
Connection: close
Content-Type: text/html; charset=ISO-8859-1

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message