Skip to content

pull() without a length does not pull until end of stream #10

@chad3814

Description

@chad3814

https://github.com/EvanOxfeld/node-pullstream/blob/master/pullstream.js#L46 calls self.read() if len is not set. Node docs http://nodejs.org/api/stream.html#stream_readable_stream says, "If you do not specify a size argument, then it will return all the data in the internal buffer."

I ran into this with a big stream, it just returned 16,384 bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions