hi,

On Mon, Apr 12, 2010 at 10:25 AM, Pierre Joye <paj...@php.net> wrote:
> pajoye                                   Mon, 12 Apr 2010 08:25:50 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=297865
>
> Log:
> - [doc] add stream_set_read_buffer, equivalent of stream_set_write_buffer for 
> read operations. Fixing possible bad effects while reading devices. full 
> context support is under work.

I would like to merge this change to 5.3. It is very useful to avoid
bad side effects while reading on devices like /dev/random. Right now,
any userland code (or internals code not changing this option) reads
8192 bytes, which is rather bad for the random device, as it will run
out of seeds pretty quickly, when called from a web application.

Any objection?

By the way, I'm working on the next step for trunk only, adding
context support to the plain file stream API.

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to