Date: 08/14/00
- Next message: Joey Smith: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 / NEWS /ext/mcrypt mcrypt.c php_mcrypt.h (fwd)"
- Previous message: Dan Kalowsky: "[PHP-DEV] PHP4/Solid, and possible bug/question"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] Re: PHP 4.0 Bug #6038 Updated: fread() in non blocking mode cant't read more than 901120 bytes"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] Re: PHP 4.0 Bug #6038 Updated: fread() in non blocking mode cant't read more than 901120 bytes"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] Re: PHP 4.0 Bug #6038 Updated: fread() in non blocking mode cant't read more than 901120 bytes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* "Stanislav Malyshev" <stas <email protected>> wrote:
| That's natural - PHP reads data in chunks, as far as I see, so more the
| data, slower the transfer.
But hey, don't you think 4 Minutes for 13 megabytes (LAN) is a bit _too_ slow?
| BH>> was the result. The string contains only 10.02% percent of the date
that
| BH>> should be read and are read when in blocking mode.
|
| No. It coontains 100% of the data that should be read. I repeat: in
| non-blocking mode, the "data size" is the _maximum_ value, not _minimum_
| value. That's the meaning of non-blocking - if there's not enough data,
| don't block and wait but return immediately.
So there is no data on the socket? Only some 83500 bytes? Always? Interesting.
| BH>> So my problem is, that the data is there, but its not read by fread().
|
| So use looping fread or set it to the blocking mode.
done, as my benchmark results showed. This does not increase speed.
regards,
-- Björn Höhrmann · mailto:bjoern <email protected> · http://www.bjoernsworld.de am Badedeich 7 · Telefon: +49(0)4667/981ASK · http://bjoern.hoehrmann.de 25899 Dagebüll · PGP KeyID: 0xA4357E78 · http://learn.to/quote +{i} ·---------------------------------<²³>---------------------------------·-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Joey Smith: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 / NEWS /ext/mcrypt mcrypt.c php_mcrypt.h (fwd)"
- Previous message: Dan Kalowsky: "[PHP-DEV] PHP4/Solid, and possible bug/question"
- In reply to: Stanislav Malyshev: "Re: [PHP-DEV] Re: PHP 4.0 Bug #6038 Updated: fread() in non blocking mode cant't read more than 901120 bytes"
- Next in thread: Stanislav Malyshev: "Re: [PHP-DEV] Re: PHP 4.0 Bug #6038 Updated: fread() in non blocking mode cant't read more than 901120 bytes"
- Reply: Stanislav Malyshev: "Re: [PHP-DEV] Re: PHP 4.0 Bug #6038 Updated: fread() in non blocking mode cant't read more than 901120 bytes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

