Re: #24001 [Csd->Bgs]: fread limited by ca. 2.7K ?
| From: | Derick Rethans | Date: | Wed, 04 Jun 2003 19:37:31 +0000 |
| Subject: | Re: #24001 [Csd->Bgs]: fread limited by ca. 2.7K ? | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969354265@lists.php.net to get a copy of this message | ||
On Tue, 3 Jun 2003 pollita@php.net wrote:
> ID: 24001
> Updated by: pollita@php.net
> Reported By: eric at pitte dot de
> -Status: Closed
> +Status: Bogus
> Bug Type: Filesystem function related
> Operating System: Suse 8.2
> PHP Version: 4.3.2
> New Comment:
>
> P.S. - To add to derick's response:
>
> The reason the file read is comming out specifically at 2.7KB is that
> the default chunksize for http streams is 4KB. The "missing" 1.3KB is
> likely buried in the response headers.
Make this a FAQ, add it to docs (maybe clarify it if it's already in)?
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions http://www.jdimedia.nl/
International PHP Magazine http://www.php-mag.net/
-------------------------------------------------------------------------