note 79733 deleted from function.fread by danbrown

From: Date: Tue, 09 Jun 2009 14:46:07 +0000
Subject: note 79733 deleted from function.fread by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156612@lists.php.net to get a copy of this message
Note Submitter: phpnet at povaddict dot com dot ar dot invalid ---- @kai, Blagovest, and probably others: Of course fread shouldn't be trusted to read the whole length you requested, that's a basic socket concept. And the manual says so: "Reading stops as soon as a packet becomes available (for network streams)" In fact I'm having a problem where fread sometimes blocks even though there is *some* data available (it should return as soon as there is 1 byte); *that* shouldn't happen.

« previous php.notes (#156612) next »