PHP 4.0 Bug #8108 Updated: ob_length() doesn't take into account strings added by trans-sid
| From: | stas@php.net | Date: | Mon, 11 Dec 2000 14:45:54 +0000 |
| Subject: | PHP 4.0 Bug #8108 Updated: ob_length() doesn't take into account strings added by trans-sid | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40840@lists.php.net to get a copy of this message | ||
ID: 8108
Updated by: stas
Reported By: phpbug@jbirch.com
Old-Status: Open
Status: Analyzed
Bug Type: Output Control
Assigned To:
Comments:
Actually, I guess trans-sid should be implemented as
output-buffering filter, just as gz-compression. Otherwise
what you are trying to do would never work.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-05 02:32:04] phpbug@jbirch.com
Sorry, miscategorized.
---------------------------------------------------------------------------
[2000-12-05 02:04:24] phpbug@jbirch.com
I've got php4.3.3pl1 compiled as a CGI with --enable-trans-sid.
I currently use the ob_length function to send a Content-Length header with my semi-static pages to
enhance their cacheability. As soon as I enabled trans-sid with cookies disabled this behaviour
broke, because ob_length appears to be calculated before the SID is applied to the page. My pages
get truncated by browsers that accept the content-length header (all modern browsers).
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8108