Bug #5040 Updated: Support for persistent HTTP/1.0 connections
| From: | sterling@php.net | Date: | Sun, 27 Jan 2002 06:38:17 +0000 |
| Subject: | Bug #5040 Updated: Support for persistent HTTP/1.0 connections | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78224@lists.php.net to get a copy of this message | ||
ID: 5040
Updated by: sterling
Reported By: mnot@pobox.com
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
PHP Version: 4.0.0 Release
New Comment:
look at the output buffering functions.
Previous Comments:
------------------------------------------------------------------------
[2000-07-08 21:43:00] mnot@pobox.com
OK, I'm working on this in a library which can be appended. However, I
really need access to HTTP headers that have already been set
(specifically, Content-Type) by the PHP page.
Bug 5278 is exactly what I need.
------------------------------------------------------------------------
[2000-06-14 22:25:47] mnot@pobox.com
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)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=5040&edit=1