mirror of https://github.com/lukechilds/node.git
Browse Source
This is actually undesireable as it takes away control from the user who may want to pause/resume to throttle the upload stream, or synchronize it with disk flushing. I actually ran into memory issues when trying to stream huge files to disc as the file module was building up a huge action buffer. This can now easily be avoided like this: part.addListener('body', function(chunk) { req.pause(); file.write(chunk).addCallback(function() { req.resume(); }); }v0.7.4-release
Felix Geisendörfer
15 years ago
committed by
Ryan Dahl
1 changed files with 0 additions and 4 deletions
Loading…
Reference in new issue