Re: output buffering
| From: | Rasmus Lerdorf | Date: | Mon, 07 Oct 2002 03:10:57 +0000 |
| Subject: | Re: output buffering | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89121@lists.php.net to get a copy of this message | ||
I thought those changes were reverted?
On Mon, 7 Oct 2002, Sascha Schumann wrote:
> Hi,
>
> the recent changes in the output buf layer are causing PHP to
> buffer data too aggressively.
>
> The test case outputs two lines of HTML a few times and
> expects these lines to be immediately forwarded to the url
> scanner. Regardless of the output_buffering/implicit_flush
> ini settings, the HTML is buffered and does not get to the
> scanner until the script finishes.
>
> During the script, we change the behaviour of the URL scanner
> by modifying the tags its matching on. Only the last INI
> setting is applied to the HTML output. Sprinkling the code
> with flush()es and enabling implicit_flush does not help.
>
> http://lxr.php.net/source/php4/ext/session/tests/021.phpt
>
> - Sascha
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>