httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
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/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


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message