output buffering
| From: | Sascha Schumann | Date: | Mon, 07 Oct 2002 03:02:45 +0000 |
| Subject: | output buffering | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-89120@lists.php.net to get a copy of this message | ||
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