Bug #14770 Updated: phps truncates long sources

From: Date: Thu, 25 Apr 2002 21:59:56 +0000
Subject: Bug #14770 Updated: phps truncates long sources
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6013@lists.php.net to get a copy of this message
ID: 14770 Updated by: david@blue-labs.org Reported By: Shaggy_Pyce@yahoo.com Status: Open Bug Type: Scripting Engine problem Operating System: Windows 98SE PHP Version: 4.1.0 New Comment: Setting output_buffering=0 allows Mozilla to get the full source every time. Setting it to 1 breaks it every time. Setting it to 2+ yields random results. Between no truncation and several lines of truncation (Mozilla). The curious part of this is that lynx and wget always fetch the same number of bytes every time. Previous Comments: ------------------------------------------------------------------------ [2002-04-25 17:49:53] david@blue-labs.org Disabling zlib.output_compression yields full source in Mozilla but both lynx and wget are still missing the end chunk (last two lines are truncated) ------------------------------------------------------------------------ [2002-04-25 17:27:04] david@blue-labs.org Duplicated on Linux/Apache 1.2.23 with PHP 4.2.0. With output buffering enabled, Mozilla pops up 'document has no data', with output buffering disabled, the source is almost all viewable. That is to say, the last two lines are missing, the generated html is truncated. The source I'm trying to render is 2344 bytes long. ------------------------------------------------------------------------ [2002-03-10 01:10:01] Shaggy_Pyce@yahoo.com Apache 1.3.19 with PHP 4.1.0 has it also on the Windows platform ------------------------------------------------------------------------ [2002-01-05 07:21:58] Shaggy_Pyce@yahoo.com it depends on the setting of output buffering when it is off all is ok when it is set to a limited amount like 4096 the sources get truncated when on no browser can connect not even telnet 4.0.6 has the same problem ------------------------------------------------------------------------ [2002-01-02 14:42:53] yohgaki@php.net It seems this is related to output control. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14770 -- Edit this bug report at http://bugs.php.net/?id=14770&edit=1

« previous php.bugs (#6013) next »