Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NodeJS streaming API for filereads #14

Closed
mikedeboer opened this issue Sep 12, 2011 · 1 comment
Closed

Use NodeJS streaming API for filereads #14

mikedeboer opened this issue Sep 12, 2011 · 1 comment

Comments

@mikedeboer
Copy link
Owner

in https://github.com/mikedeboer/jsDAV/blob/master/lib/DAV/handler.js#L345 use util.pump() and similar functionality in ReadableStream (http://nodejs.org/docs/v0.4.11/api/all.html#readable_Stream)

This also means we need to move away from the node.get() api that reads the file contents as a buffer in one go, as a whole.

mikedeboer pushed a commit that referenced this issue May 23, 2012
@mikedeboer
Copy link
Owner Author

This is implemented and done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant