PHP 4.0 Bug #5040: Support for persistent HTTP/1.0 connections
| From: | mnot at pobox dot com | Date: | Wed, 14 Jun 2000 20:25:47 +0000 |
| Subject: | PHP 4.0 Bug #5040: Support for persistent HTTP/1.0 connections | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21335@lists.php.net to get a copy of this message | ||
From: mnot@pobox.com
Operating system:
PHP version: 4.0.0 Release
PHP Bug Type: Feature/Change Request
Bug description: Support for persistent HTTP/1.0 connections
It would be great if PHP had an option which would buffer the response to the client, so that it
could add a Content-Length header to enable persistent connections with HTTP/1.0 clients.
This could be done automagically, or there could just be an option to buffer the output of the
script and make it available to a function which is called before sending to the client (so that
things like compression could be done as well).
(I looked for a way to do this by importing a library, etc, but I don't see anything that would
make it possible; if there is such a thing, a pointer would be much appreciated).
Note that IIS5 buffers ASP responses by default now; in 4, they could be turned on by setting a flag
in the top of the script (forget what it is now)