Added check for stream_set_read_buffer