#32553 [Com]: PHP_STREAM_COPY_ALL set to 2000000
| From: | meyer at labeltools dot com | Date: | Wed, 06 Apr 2005 14:47:08 +0000 |
| Subject: | #32553 [Com]: PHP_STREAM_COPY_ALL set to 2000000 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76443@lists.php.net to get a copy of this message | ||
ID: 32553
Comment by: meyer at labeltools dot com
Reported By: ppmm at wuxinan dot net
Status: Assigned
Bug Type: Filesystem function related
Operating System: Windows XP
PHP Version: 5.0.4
Assigned To: iliaa
New Comment:
In my first sentence, I meant to say:
"We have also experienced this bug when upgrading PHP to 5.0.4."
Previous Comments:
------------------------------------------------------------------------
[2005-04-06 16:46:05] meyer at labeltools dot com
We have also experienced this bug when upgrading PHP to 5.0.3. We have
developed a business application for record companies and were very
annoyed that suddenly the MP3 prelisten and download function did not
work any more. Downloads stalled after 2,000,000 bytes. We searched
many hours for bugs in our application until we found out it was in PHP
5.0.4.
------------------------------------------------------------------------
[2005-04-03 01:49:15] ppmm at wuxinan dot net
Description:
------------
I noticed this is already discussed in PHP-DEV mailing list.
But I want to address it here since this is critical.
Many file related functions are affected in php 5.0.4
They stop reading at 2,000,000 bytes.
Examples are readfile() and fpassthru().
This is due to this change:
RCS file: /repository/php-src/main/php_streams.h,v
retrieving revision 1.95
retrieving revision 1.95.2.1
I wouldn't recommend upgrading from 5.0.3 to 5.0.4 if you are unsure
about this issue...
[ref:
Re: [PHP-DEV] Two minor issues in 5.0.4
Antony Dovgal
Sun, 27 Mar 2005 03:56:27 -0800
]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32553&edit=1