jsftp icon indicating copy to clipboard operation
jsftp copied to clipboard

Fixed forced paused flowMode issue.

Open blackshadev opened this issue 7 years ago • 2 comments

By using the readable event the paused flowMode is forced upon the stream, even though the use of pipe() later on. By explicitly calling stream.read() on the readable event the pipe will function normally.

This will fix issues #284

blackshadev avatar Jul 20 '18 06:07 blackshadev

Hi

Have just tested this PR with Node.js 10.2 and it does fix the issue.

Hoping this can get merged eventually.

All the best, Liam Barry

worksofliam avatar Oct 06 '18 21:10 worksofliam

It works in Node.js 11.12.0 too 😄

scarletsky avatar Apr 12 '19 08:04 scarletsky