#32553 [Asn->Csd]: PHP_STREAM_COPY_ALL set to 2000000
| From: | iliaa@php.net | Date: | Wed, 06 Apr 2005 14:48:26 +0000 |
| Subject: | #32553 [Asn->Csd]: PHP_STREAM_COPY_ALL set to 2000000 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76444@lists.php.net to get a copy of this message | ||
ID: 32553
Updated by: iliaa@php.net
Reported By: ppmm at wuxinan dot net
-Status: Assigned
+Status: Closed
Bug Type: Filesystem function related
Operating System: Windows XP
PHP Version: 5.0.4
Assigned To: iliaa
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-04-06 16:47:07] meyer at labeltools dot com
In my first sentence, I meant to say:
"We have also experienced this bug when upgrading PHP to 5.0.4."
------------------------------------------------------------------------
[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