Re: cvs: php-src /main/streams streams.c

From: Date: Mon, 23 May 2005 15:55:05 +0000
Subject: Re: cvs: php-src /main/streams streams.c
References: 1 2 3 4 5 6 7  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31985@lists.php.net to get a copy of this message
On 5/23/05, Antony Dovgal <antony@zend.com> wrote: > > 32810 is a bug, but that's because tmpfile() is implemented as a > > wrapper-less plain file. > > As far as I understand wrapper-less streams should not exist at all, right? Wrapper-less streams are perfectly ok and acceptable, and are the default for things opened via fsockopen and some other magic internals. > But I would really like to see an example that is broken by this commit. > Could you plz show me one, if it's not too complex for you? > Thanks. $fp = fsockopen(....) fread($fp, 10000); this is now greedy, but should not be so, as it breaks anyone trying to write "proper" network aware scripts. --Wez.

« previous php.cvs (#31985) next »