-
Notifications
You must be signed in to change notification settings - Fork 243
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
ftp.get() hangs for 60 seconds in node v10, but not in node v8 #228
Comments
After update node version from 8.9.2 to 10.2.0, I also encounter this problem. |
@kingeaglewang: Note that this module appears to have been abandoned (3+ years since a new version published, 1+ years since a contributer has commented on an issue). I've switched to the Edit: Readers may also be interested in @icetee's fork at https://www.npmjs.com/package/@icetee/ftp |
I also encounter this problem after upgrade node version to 10.16.5, |
I did some investigation. Node.JS v10 changed to use the way for socket clean up at EOF. Node.JS v8: Find Node.JS v10 Find I'm not sure about the actual difference yet. But I noticed in After commenting out the line of
|
@mscdex Time to archive this repo / hand off ownership to someone else? (... conspicuously not volunteering, however. 😝 ) |
Specifically, when I run the test case below (fetching a single file from a local FTP server), it takes ~53msecs on node v8, but 60000msecs on node 10.
Exact console output listed below as well.
The exact console output, if it helps:
The text was updated successfully, but these errors were encountered: