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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

std4lqi
Copy link

@std4lqi std4lqi commented Dec 17, 2019

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
Copy link
Author

std4lqi commented Dec 17, 2019

It's to fix #228 actually.

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

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

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