Skip to content

Change to emit end and close immediately at EOF during download#259

Open
std4lqi wants to merge 2 commits into
mscdex:masterfrom
std4lqi:send-mode-s-only-when-mode-z
Open

Change to emit end and close immediately at EOF during download#259
std4lqi wants to merge 2 commits into
mscdex:masterfrom
std4lqi:send-mode-s-only-when-mode-z

Conversation

@std4lqi

@std4lqi std4lqi commented Dec 17, 2019

Copy link
Copy Markdown

Signed-off-by: Qi Liang liangqi@cn.ibm.com

Change to emit end and close at EOF immediately during download, without waiting for 226 or 250 for RETR. This could close the stream quickly, instead of hanging for 1 or 2 minutes on Node.JS v10 and v12.

Signed-off-by: Qi Liang <liangqi@cn.ibm.com>
@std4lqi

std4lqi commented Dec 17, 2019

Copy link
Copy Markdown
Author

It's to fix #228 actually.

Signed-off-by: Qi Liang <liangqi@cn.ibm.com>
@thingalon

Copy link
Copy Markdown

I have also run into a similar issue on Node 11 and 12, and can confirm this PR fixes it. Thanks @std4lqi!

@jasonwilliams

Copy link
Copy Markdown

See #277

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

Successfully merging this pull request may close these issues.

3 participants